summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-08-15 18:14:46 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-08-16 17:18:49 +0100
commitbcfc591f86faf00fbed361a4feb2ee6024ea7e29 (patch)
tree6102216037624960cccbbbd4d02fe69cb0b80cea /modules/gdscript/tests
parentd7ab7ff6be29554fc5287e2b7205dbd96213ae08 (diff)
Reorganise text editor settings
Diffstat (limited to 'modules/gdscript/tests')
-rw-r--r--modules/gdscript/tests/test_gdscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/test_gdscript.cpp b/modules/gdscript/tests/test_gdscript.cpp
index 52e9d92223..e54f055f2b 100644
--- a/modules/gdscript/tests/test_gdscript.cpp
+++ b/modules/gdscript/tests/test_gdscript.cpp
@@ -56,7 +56,7 @@ static void test_tokenizer(const String &p_code, const Vector<String> &p_lines)
int tab_size = 4;
#ifdef TOOLS_ENABLED
if (EditorSettings::get_singleton()) {
- tab_size = EditorSettings::get_singleton()->get_setting("text_editor/indent/size");
+ tab_size = EditorSettings::get_singleton()->get_setting("text_editor/behavior/indent/size");
}
#endif // TOOLS_ENABLED
String tab = String(" ").repeat(tab_size);