summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-08-16 18:48:58 +0200
committerGitHub <noreply@github.com>2021-08-16 18:48:58 +0200
commitcfdac0973c2f1e5a3349c3d80262be130744384a (patch)
treea46c0cc1ffda2c4d39aab7ab699f54e8315612ed /modules/gdscript/tests
parent8383e4e06d6420eba6e04106d5037aa18c4ed30b (diff)
parentbcfc591f86faf00fbed361a4feb2ee6024ea7e29 (diff)
Merge pull request #51698 from Paulb23/text-editor-settings
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);