Merge pull request #37554 from qarmin/duplicated_add_child

Removed duplicated add_child
This commit is contained in:
Rémi Verschelde 2020-04-03 20:51:22 +02:00 committed by GitHub
commit 92538fcb48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1362,7 +1362,6 @@ AnimationNodeStateMachineEditor::AnimationNodeStateMachineEditor() {
name_edit = memnew(LineEdit);
name_edit_popup->add_child(name_edit);
name_edit->set_anchors_and_margins_preset(PRESET_WIDE);
name_edit_popup->add_child(name_edit);
name_edit->connect("text_entered", callable_mp(this, &AnimationNodeStateMachineEditor::_name_edited));
name_edit->connect("focus_exited", callable_mp(this, &AnimationNodeStateMachineEditor::_name_edited_focus_out));