summaryrefslogtreecommitdiff
path: root/editor/editor_layouts_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_layouts_dialog.cpp')
-rw-r--r--editor/editor_layouts_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_layouts_dialog.cpp b/editor/editor_layouts_dialog.cpp
index 727e758341..05a5df45a9 100644
--- a/editor/editor_layouts_dialog.cpp
+++ b/editor/editor_layouts_dialog.cpp
@@ -128,8 +128,8 @@ EditorLayoutsDialog::EditorLayoutsDialog() {
name->set_margin(MARGIN_TOP, 5);
name->set_anchor_and_margin(MARGIN_LEFT, ANCHOR_BEGIN, 5);
name->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, -5);
- name->connect("gui_input", this, "_line_gui_input");
- name->connect("focus_entered", layout_names, "unselect_all");
+ name->connect_compat("gui_input", this, "_line_gui_input");
+ name->connect_compat("focus_entered", layout_names, "unselect_all");
}
void EditorLayoutsDialog::set_name_line_enabled(bool p_enabled) {