diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2021-08-15 18:14:46 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2021-08-16 17:18:49 +0100 |
commit | bcfc591f86faf00fbed361a4feb2ee6024ea7e29 (patch) | |
tree | 6102216037624960cccbbbd4d02fe69cb0b80cea /modules/gdscript/gdscript_editor.cpp | |
parent | d7ab7ff6be29554fc5287e2b7205dbd96213ae08 (diff) | |
download | redot-engine-bcfc591f86faf00fbed361a4feb2ee6024ea7e29.tar.gz |
Reorganise text editor settings
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 1c6f23f454..73661855b4 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2703,10 +2703,10 @@ Error GDScriptLanguage::complete_code(const String &p_code, const String &p_path String GDScriptLanguage::_get_indentation() const { #ifdef TOOLS_ENABLED if (Engine::get_singleton()->is_editor_hint()) { - bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", false); + bool use_space_indentation = EDITOR_DEF("text_editor/behavior/indent/type", false); if (use_space_indentation) { - int indent_size = EDITOR_DEF("text_editor/indent/size", 4); + int indent_size = EDITOR_DEF("text_editor/behavior/indent/size", 4); String space_indent = ""; for (int i = 0; i < indent_size; i++) { |