From bb6e73f9c155c0340fa4a152fa60a146f0ae744f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 2 Jul 2017 12:50:27 +0200 Subject: [PATCH] EditorNameDialog: Remove unnecessary move_child Fixes #9377. --- editor/editor_name_dialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/editor/editor_name_dialog.cpp b/editor/editor_name_dialog.cpp index d4c418bfc9d..7435e9a9f7c 100644 --- a/editor/editor_name_dialog.cpp +++ b/editor/editor_name_dialog.cpp @@ -85,7 +85,6 @@ EditorNameDialog::EditorNameDialog() { add_child(makevb); name = memnew(LineEdit); makevb->add_child(name); - makevb->move_child(name, get_label()->get_index() + 1); 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);