From d9f4d3952d0b26e01e983e1242788b179f1d7bcf Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Tue, 15 Dec 2015 13:39:13 -0300 Subject: Add editor setting for display mode on file dialog and filesystem dock --- tools/editor/editor_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/editor/editor_settings.cpp') diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index 15de6e7266..5c36b842c7 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -515,6 +515,8 @@ void EditorSettings::_load_defaults() { set("text_editor/create_signal_callbacks",true); set("file_dialog/show_hidden_files", false); + set("file_dialog/display_mode", 0); + hints["file_dialog/display_mode"]=PropertyInfo(Variant::INT,"file_dialog/display_mode",PROPERTY_HINT_ENUM,"Thumbnails,List"); set("file_dialog/thumbnail_size", 64); hints["file_dialog/thumbnail_size"]=PropertyInfo(Variant::INT,"file_dialog/thumbnail_size",PROPERTY_HINT_RANGE,"32,128,16"); -- cgit v1.2.3