summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-25 08:00:07 +0100
committerGitHub <noreply@github.com>2018-01-25 08:00:07 +0100
commitabccd47ad09b909f4d043cfa73cea4e6e6494a05 (patch)
tree50d5fe34c761ca21d55c7003448e5f31df136ae7 /editor
parent4700f2d79a108dc12b1624fb768b0047cbf0d590 (diff)
parent3455e43a134e8e44e39f968d7a5376f78ba264a1 (diff)
Merge pull request #16044 from icnikerazah/maximum_recent_files
Fix slider range step of maximum_recent_files
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index 122034eaa3..433f501fc8 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -383,7 +383,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("text_editor/files/restore_scripts_on_load", true);
_initial_set("text_editor/completion/complete_file_paths", true);
_initial_set("text_editor/files/maximum_recent_files", 20);
- hints["text_editor/files/maximum_recent_files"] = PropertyInfo(Variant::INT, "text_editor/files/maximum_recent_files", PROPERTY_HINT_RANGE, "1, 200, 0");
+ hints["text_editor/files/maximum_recent_files"] = PropertyInfo(Variant::INT, "text_editor/files/maximum_recent_files", PROPERTY_HINT_RANGE, "1, 200, 1");
_initial_set("docks/scene_tree/start_create_dialog_fully_expanded", false);
_initial_set("docks/scene_tree/draw_relationship_lines", false);