diff options
| author | Paulb23 | 2017-04-26 12:14:03 +0100 |
|---|---|---|
| committer | Paulb23 | 2017-04-26 12:14:03 +0100 |
| commit | c4ffe892043a558e293c5d3974c14beaabe038c4 (patch) | |
| tree | 1d669d25d1788944df336fe036e36c6f97144598 /editor/plugins/script_editor_plugin.cpp | |
| parent | 02c041904f7ced28cd2a006c09725fd9fd60520f (diff) | |
| download | godot-c4ffe892043a558e293c5d3974c14beaabe038c4.tar.gz godot-c4ffe892043a558e293c5d3974c14beaabe038c4.tar.zst godot-c4ffe892043a558e293c5d3974c14beaabe038c4.zip | |
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index cdcc0a085..972ef44c1 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1649,7 +1649,7 @@ void ScriptEditor::_editor_settings_changed() { trim_trailing_whitespace_on_save = EditorSettings::get_singleton()->get("text_editor/files/trim_trailing_whitespace_on_save"); convert_indent_on_save = EditorSettings::get_singleton()->get("text_editor/indent/convert_indent_on_save"); - use_space_indentation = EditorSettings::get_singleton()->get("text_editor/indent/type") == "Tabs" ? 0 : 1; + use_space_indentation = EditorSettings::get_singleton()->get("text_editor/indent/type"); float autosave_time = EditorSettings::get_singleton()->get("text_editor/files/autosave_interval_secs"); if (autosave_time > 0) { |
