aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorPaulb232017-04-26 12:14:03 +0100
committerPaulb232017-04-26 12:14:03 +0100
commitc4ffe892043a558e293c5d3974c14beaabe038c4 (patch)
tree1d669d25d1788944df336fe036e36c6f97144598 /editor/editor_settings.cpp
parent02c041904f7ced28cd2a006c09725fd9fd60520f (diff)
downloadgodot-c4ffe892043a558e293c5d3974c14beaabe038c4.tar.gz
godot-c4ffe892043a558e293c5d3974c14beaabe038c4.tar.zst
godot-c4ffe892043a558e293c5d3974c14beaabe038c4.zip
Changed indent type settings
Diffstat (limited to 'editor/editor_settings.cpp')
-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 f1b7667a5..b49484561 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -530,7 +530,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
set("text_editor/cursor/scroll_past_end_of_file", false);
set("text_editor/indent/type", 0);
- hints["text_editor/indent/type"] = PropertyInfo(Variant::STRING, "text_editor/indent/type", PROPERTY_HINT_ENUM, "Tabs,Spaces");
+ hints["text_editor/indent/type"] = PropertyInfo(Variant::INT, "text_editor/indent/type", PROPERTY_HINT_ENUM, "Tabs,Spaces");
set("text_editor/indent/size", 4);
hints["text_editor/indent/size"] = PropertyInfo(Variant::INT, "text_editor/indent/size", PROPERTY_HINT_RANGE, "1, 64, 1"); // size of 0 crashes.
set("text_editor/indent/convert_indent_on_save", false);