EditorNameDialog: Remove unnecessary move_child
Fixes #9377.
(cherry picked from commit bb6e73f9c1
)
This commit is contained in:
parent
47307453f7
commit
5a6eaf5a55
1 changed files with 0 additions and 1 deletions
|
@ -83,7 +83,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);
|
||||
|
|
Loading…
Reference in a new issue