summaryrefslogtreecommitdiffstats
path: root/editor/gui/editor_scene_tabs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/gui/editor_scene_tabs.cpp')
-rw-r--r--editor/gui/editor_scene_tabs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/gui/editor_scene_tabs.cpp b/editor/gui/editor_scene_tabs.cpp
index f39e2adcb1..f1ca59e0ac 100644
--- a/editor/gui/editor_scene_tabs.cpp
+++ b/editor/gui/editor_scene_tabs.cpp
@@ -415,7 +415,7 @@ EditorSceneTabs::EditorSceneTabs() {
scene_tab_add->set_flat(true);
scene_tab_add->set_tooltip_text(TTR("Add a new scene."));
scene_tabs->add_child(scene_tab_add);
- scene_tab_add->connect("pressed", callable_mp(EditorNode::get_singleton(), &EditorNode::trigger_menu_option).bind(EditorNode::FILE_NEW_SCENE, false));
+ scene_tab_add->connect(SceneStringName(pressed), callable_mp(EditorNode::get_singleton(), &EditorNode::trigger_menu_option).bind(EditorNode::FILE_NEW_SCENE, false));
scene_tab_add_ph = memnew(Control);
scene_tab_add_ph->set_mouse_filter(Control::MOUSE_FILTER_IGNORE);