diff options
author | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-08-16 13:25:42 -0300 |
---|---|---|
committer | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-08-16 15:27:00 -0300 |
commit | f6b39827b1f68aef52fd87723f0225946eff1551 (patch) | |
tree | af2e8f28df3c8b337f4260d505667d44b004ae75 /tools/editor/editor_node.cpp | |
parent | 91ba00b4163ceec83211b9445dd1a0900d71efe4 (diff) |
Better editor settings for the FileSystem dock
* Save the current display mode when changing it from the dock
Diffstat (limited to 'tools/editor/editor_node.cpp')
-rw-r--r-- | tools/editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 85c560bf9d..b224cac7be 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -6180,7 +6180,7 @@ EditorNode::EditorNode() { scenes_dock = memnew( FileSystemDock(this) ); scenes_dock->set_name(TTR("FileSystem")); - scenes_dock->set_use_thumbnails(int(EditorSettings::get_singleton()->get("file_dialog/display_mode"))==EditorFileDialog::DISPLAY_THUMBNAILS); + scenes_dock->set_display_mode(int(EditorSettings::get_singleton()->get("filesystem_dock/display_mode"))); dock_slot[DOCK_SLOT_LEFT_UR]->add_child(scenes_dock); //prop_pallete->add_child(scenes_dock); scenes_dock->connect("open",this,"open_request"); |