summaryrefslogtreecommitdiffstats
path: root/editor/window_wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/window_wrapper.cpp')
-rw-r--r--editor/window_wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/window_wrapper.cpp b/editor/window_wrapper.cpp
index b810ec7fa2..768b0c6efe 100644
--- a/editor/window_wrapper.cpp
+++ b/editor/window_wrapper.cpp
@@ -387,7 +387,7 @@ void ScreenSelect::_bind_methods() {
void ScreenSelect::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_READY: {
- connect("gui_input", callable_mp(this, &ScreenSelect::_handle_mouse_shortcut));
+ connect(SceneStringName(gui_input), callable_mp(this, &ScreenSelect::_handle_mouse_shortcut));
} break;
case NOTIFICATION_THEME_CHANGED: {
set_icon(get_editor_theme_icon("MakeFloating"));