summaryrefslogtreecommitdiffstats
path: root/editor/import_dock.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 09:40:21 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 15:51:28 +0200
commitee79386f7b5620c3d1ed18d24de7b9a4731602d4 (patch)
tree9740ef15899f7714cc81fc8cb018553ef5593d94 /editor/import_dock.cpp
parent78cce1954ddb6fefb90b33742215f304ec7b0b94 (diff)
downloadredot-engine-ee79386f7b5620c3d1ed18d24de7b9a4731602d4.tar.gz
[Scene] Add SceneStringNames::pressed
Diffstat (limited to 'editor/import_dock.cpp')
-rw-r--r--editor/import_dock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp
index e12f74eb64..fbe76e1d5c 100644
--- a/editor/import_dock.cpp
+++ b/editor/import_dock.cpp
@@ -798,7 +798,7 @@ ImportDock::ImportDock() {
import = memnew(Button);
import->set_text(TTR("Reimport"));
import->set_disabled(true);
- import->connect("pressed", callable_mp(this, &ImportDock::_reimport_pressed));
+ import->connect(SceneStringName(pressed), callable_mp(this, &ImportDock::_reimport_pressed));
if (!DisplayServer::get_singleton()->get_swap_cancel_ok()) {
advanced_spacer = hb->add_spacer();
advanced = memnew(Button);
@@ -818,7 +818,7 @@ ImportDock::ImportDock() {
advanced->hide();
advanced_spacer->hide();
- advanced->connect("pressed", callable_mp(this, &ImportDock::_advanced_options));
+ advanced->connect(SceneStringName(pressed), callable_mp(this, &ImportDock::_advanced_options));
reimport_confirm = memnew(ConfirmationDialog);
content->add_child(reimport_confirm);