Skip to content

Commit

Permalink
regression: dictionary key no autocomplete fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThakeeNathees committed May 24, 2020
1 parent 00949f0 commit 13c372b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/gdscript/gdscript_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,11 @@ static void _find_identifiers_in_base(const GDScriptCompletionContext &p_context

if (!p_only_functions) {
List<PropertyInfo> members;
tmp.get_property_list(&members);
if (p_base.value.get_type() != Variant::NIL) {
p_base.value.get_property_list(&members);
} else {
tmp.get_property_list(&members);
}

for (List<PropertyInfo>::Element *E = members.front(); E; E = E->next()) {
if (String(E->get().name).find("/") == -1) {
Expand Down

0 comments on commit 13c372b

Please sign in to comment.