From 18e4b061620a8a6e776d2f611cdf7473ea3777f6 Mon Sep 17 00:00:00 2001 From: Jummit Date: Fri, 20 Jan 2023 16:32:16 +0100 Subject: [PATCH] Support signals and callables in exposed dictionaries --- editor/editor_properties_array_dict.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 28c0b047d8d..8ba897cedab 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -1051,6 +1051,14 @@ void EditorPropertyDictionary::update_property() { case Variant::RID: { prop = memnew(EditorPropertyRID); + } break; + case Variant::SIGNAL: { + prop = memnew(EditorPropertySignal); + + } break; + case Variant::CALLABLE: { + prop = memnew(EditorPropertyCallable); + } break; case Variant::OBJECT: { if (Object::cast_to(value)) {