diff options
author | qarmin <mikrutrafal54@gmail.com> | 2020-04-03 19:48:40 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2020-04-03 19:48:40 +0200 |
commit | 7d1993920350d74fd33be494b532a523760f8e9d (patch) | |
tree | b65e7b01f0755d89de8c07cb73a180537bbcbb68 /editor/plugins/animation_state_machine_editor.cpp | |
parent | 4a0e99f19746d726a2d9282cc52879c95c5c4ae3 (diff) | |
download | redot-engine-7d1993920350d74fd33be494b532a523760f8e9d.tar.gz |
Removed duplicated add_child
Diffstat (limited to 'editor/plugins/animation_state_machine_editor.cpp')
-rw-r--r-- | editor/plugins/animation_state_machine_editor.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/animation_state_machine_editor.cpp b/editor/plugins/animation_state_machine_editor.cpp index 9267c0df5c..c06f62a8c1 100644 --- a/editor/plugins/animation_state_machine_editor.cpp +++ b/editor/plugins/animation_state_machine_editor.cpp @@ -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)); |