Merge pull request #29185 from hilfazer/enum-autocomplete

Autocomplete for enum values
This commit is contained in:
Rémi Verschelde 2019-05-28 10:21:27 +02:00 committed by GitHub
commit 4686d9470e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {