summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-07-02 12:50:27 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-07-02 12:50:27 +0200
commitbb6e73f9c155c0340fa4a152fa60a146f0ae744f (patch)
treed3de5713dec5887b0a98afaaea7bf6ac8fadbae0
parent71f6c962884801371ce85caaebdf12fcac0f090d (diff)
downloadredot-engine-bb6e73f9c155c0340fa4a152fa60a146f0ae744f.tar.gz
EditorNameDialog: Remove unnecessary move_child
Fixes #9377.
-rw-r--r--editor/editor_name_dialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_name_dialog.cpp b/editor/editor_name_dialog.cpp
index d4c418bfc9..7435e9a9f7 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);