summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorhilfazer <az13337@gmail.com>2019-05-26 09:09:11 +0200
committerhilfazer <az13337@gmail.com>2019-05-26 09:09:11 +0200
commitca1932636ffd6d618820b6b25df2b0a3a8794437 (patch)
tree22286bac29f9c6984549ef9e5d03166689f2edf5 /modules/gdscript
parenta4b250d1aef8b84cf090ecd965628c9e616340c5 (diff)
autocomplete for enum values
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index d91e32249e..fa80c31984 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -2054,7 +2054,7 @@ static void _find_identifiers_in_base(const GDScriptCompletionContext &p_context
if (!p_only_functions) {
List<PropertyInfo> members;
- tmp.get_property_list(&members);
+ p_base.value.get_property_list(&members);
for (List<PropertyInfo>::Element *E = members.front(); E; E = E->next()) {
if (String(E->get().name).find("/") == -1) {