summaryrefslogtreecommitdiffstats
path: root/editor/property_selector.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 14:28:18 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-06-19 09:40:54 +0200
commitca18a06ecbf68db50d8d7e7391b73a245c745cea (patch)
treed71ddc580b1c8d61d766b43dfaf6266ab7cb3ef2 /editor/property_selector.cpp
parentd9e2fc74c73204d03a6d4431feef44085c7663df (diff)
downloadredot-engine-ca18a06ecbf68db50d8d7e7391b73a245c745cea.tar.gz
[Scene] Add `SceneStringNames::confirmed`
Diffstat (limited to 'editor/property_selector.cpp')
-rw-r--r--editor/property_selector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/property_selector.cpp b/editor/property_selector.cpp
index a5157bd394..9bb1562148 100644
--- a/editor/property_selector.cpp
+++ b/editor/property_selector.cpp
@@ -410,11 +410,11 @@ void PropertySelector::_hide_requested() {
void PropertySelector::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
- connect("confirmed", callable_mp(this, &PropertySelector::_confirmed));
+ connect(SceneStringName(confirmed), callable_mp(this, &PropertySelector::_confirmed));
} break;
case NOTIFICATION_EXIT_TREE: {
- disconnect("confirmed", callable_mp(this, &PropertySelector::_confirmed));
+ disconnect(SceneStringName(confirmed), callable_mp(this, &PropertySelector::_confirmed));
} break;
}
}