summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2018-01-15 19:43:32 +0100
committerAndreas Haas <liu.gam3@gmail.com>2018-01-15 19:43:32 +0100
commit122837e73a6c13432665434ab5ec48c621be6fb8 (patch)
tree325d5f33ee4ad5fe763692f3e51e86e281e7ce15
parent05b1843818fd07f084816ec506ec505e24f8f02c (diff)
PropertyEditor: Add missing MAKE_PROPSELECT.
Fixes #15745
-rw-r--r--editor/property_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 46d52d21d4..87906c5a93 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -665,6 +665,8 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
} else if (hint == PROPERTY_HINT_PROPERTY_OF_INSTANCE) {
+ MAKE_PROPSELECT
+
Object *instance = ObjectDB::get_instance(hint_text.to_int64());
if (instance)
property_select->select_property_from_instance(instance, v);