mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 11:14:17 +00:00
Changed indent type settings
This commit is contained in:
parent
02c041904f
commit
c4ffe89204
5 changed files with 5 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue