summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gd_editor.cpp
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2017-05-08 22:39:27 +0300
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2017-05-08 22:39:27 +0300
commit837a66722506a578b9ea379b5ea425ed22344354 (patch)
treeb8f9990f66fe4fa0fd4b459e2cbca30b019903e2 /modules/gdscript/gd_editor.cpp
parent66725d9b21dc50b0bb38baa4aa376b7bbb56e0e4 (diff)
downloadredot-engine-837a66722506a578b9ea379b5ea425ed22344354.tar.gz
Fix #8674, and rename a few things for clarity
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
-rw-r--r--modules/gdscript/gd_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp
index 4667e541dd..5d404e2f7d 100644
--- a/modules/gdscript/gd_editor.cpp
+++ b/modules/gdscript/gd_editor.cpp
@@ -2395,7 +2395,7 @@ Error GDScriptLanguage::complete_code(const String &p_code, const String &p_base
}
} break;
- case GDParser::COMPLETION_PRELOAD: {
+ case GDParser::COMPLETION_RESOURCE_PATH: {
if (EditorSettings::get_singleton()->get("text_editor/completion/complete_file_paths"))
get_directory_contents(EditorFileSystem::get_singleton()->get_filesystem(), options);