mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 02:13:36 +00:00
Fix grid view button icon not showing on filesystem dock.
This commit is contained in:
parent
9db96d9f81
commit
ed7534a6aa
2 changed files with 2 additions and 1 deletions
|
|
@ -5659,7 +5659,6 @@ EditorNode::EditorNode() {
|
||||||
|
|
||||||
filesystem_dock = memnew(FileSystemDock(this));
|
filesystem_dock = memnew(FileSystemDock(this));
|
||||||
filesystem_dock->connect("open", this, "open_request");
|
filesystem_dock->connect("open", this, "open_request");
|
||||||
filesystem_dock->set_file_list_display_mode(FileSystemDock::FILE_LIST_DISPLAY_LIST);
|
|
||||||
filesystem_dock->connect("instance", this, "_instance_request");
|
filesystem_dock->connect("instance", this, "_instance_request");
|
||||||
filesystem_dock->connect("display_mode_changed", this, "_save_docks");
|
filesystem_dock->connect("display_mode_changed", this, "_save_docks");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -302,6 +302,8 @@ void FileSystemDock::_notification(int p_what) {
|
||||||
|
|
||||||
always_show_folders = bool(EditorSettings::get_singleton()->get("docks/filesystem/always_show_folders"));
|
always_show_folders = bool(EditorSettings::get_singleton()->get("docks/filesystem/always_show_folders"));
|
||||||
|
|
||||||
|
set_file_list_display_mode(FileSystemDock::FILE_LIST_DISPLAY_LIST);
|
||||||
|
|
||||||
_update_display_mode();
|
_update_display_mode();
|
||||||
|
|
||||||
if (EditorFileSystem::get_singleton()->is_scanning()) {
|
if (EditorFileSystem::get_singleton()->is_scanning()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue