summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authoryds <ydeltastar@gmail.com>2024-10-26 18:41:16 -0300
committeryds <ydeltastar@gmail.com>2024-10-26 18:41:16 -0300
commit893ce62967b08e337a72ecd965caf837d2117f2b (patch)
treed3e6d7bff98655550e0524acbab97815a3cae725 /editor
parent61accf060515416da07d913580419fd8c8490f7b (diff)
downloadredot-engine-893ce62967b08e337a72ecd965caf837d2117f2b.tar.gz
Fix `ColorPicker`'s remote synchronization when typing values
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp
index 158ea4b8a7..68ebffbc69 100644
--- a/editor/editor_properties.cpp
+++ b/editor/editor_properties.cpp
@@ -2628,7 +2628,7 @@ EditorPropertyColor::EditorPropertyColor() {
add_child(picker);
picker->set_flat(true);
picker->connect("color_changed", callable_mp(this, &EditorPropertyColor::_color_changed));
- picker->connect("popup_closed", callable_mp(this, &EditorPropertyColor::_popup_closed));
+ picker->connect("popup_closed", callable_mp(this, &EditorPropertyColor::_popup_closed), CONNECT_DEFERRED);
picker->get_popup()->connect("about_to_popup", callable_mp(EditorNode::get_singleton(), &EditorNode::setup_color_picker).bind(picker->get_picker()));
picker->get_popup()->connect("about_to_popup", callable_mp(this, &EditorPropertyColor::_picker_opening));
}