summaryrefslogtreecommitdiffstats
path: root/editor/editor_quick_open.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/editor_quick_open.cpp
parentd9e2fc74c73204d03a6d4431feef44085c7663df (diff)
downloadredot-engine-ca18a06ecbf68db50d8d7e7391b73a245c745cea.tar.gz
[Scene] Add `SceneStringNames::confirmed`
Diffstat (limited to 'editor/editor_quick_open.cpp')
-rw-r--r--editor/editor_quick_open.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_quick_open.cpp b/editor/editor_quick_open.cpp
index 356055c457..ba32be606c 100644
--- a/editor/editor_quick_open.cpp
+++ b/editor/editor_quick_open.cpp
@@ -261,7 +261,7 @@ String EditorQuickOpen::get_base_type() const {
void EditorQuickOpen::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
- connect("confirmed", callable_mp(this, &EditorQuickOpen::_confirmed));
+ connect(SceneStringName(confirmed), callable_mp(this, &EditorQuickOpen::_confirmed));
search_box->set_clear_button_enabled(true);
} break;
@@ -278,7 +278,7 @@ void EditorQuickOpen::_notification(int p_what) {
} break;
case NOTIFICATION_EXIT_TREE: {
- disconnect("confirmed", callable_mp(this, &EditorQuickOpen::_confirmed));
+ disconnect(SceneStringName(confirmed), callable_mp(this, &EditorQuickOpen::_confirmed));
} break;
}
}