From c7551515e3236982c8d160b93559a2807aa3e519 Mon Sep 17 00:00:00 2001 From: hilfazer Date: Sun, 26 May 2019 09:09:11 +0200 Subject: [PATCH] autocomplete for enum values (cherry picked from commit ca1932636ffd6d618820b6b25df2b0a3a8794437) --- modules/gdscript/gdscript_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index ee0d5ae0555..e51c726afac 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2050,7 +2050,7 @@ static void _find_identifiers_in_base(const GDScriptCompletionContext &p_context if (!p_only_functions) { List members; - tmp.get_property_list(&members); + p_base.value.get_property_list(&members); for (List::Element *E = members.front(); E; E = E->next()) { if (String(E->get().name).find("/") == -1) {