diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-19 09:32:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 09:32:00 +0100 |
commit | 7522aa80c2cabe96244764ef71371f878a756f4b (patch) | |
tree | a3931e14ff14e3e29a8accd0d552fa7caf61e2d6 /editor/plugins | |
parent | b2e2ce16434f0f087f1897569441889a4b7c9589 (diff) | |
parent | 3fffb1c0312a354340fd1b59777793f9fdc8cc0b (diff) |
Merge pull request #35295 from N0hbdy/animation-editor-line-edit-fix
Fix AnimationTree Editor by using CONNECT_DEFERRED on LineEdit
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/animation_blend_tree_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_blend_tree_editor_plugin.cpp b/editor/plugins/animation_blend_tree_editor_plugin.cpp index def3f4bfec..2de224c043 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.cpp +++ b/editor/plugins/animation_blend_tree_editor_plugin.cpp @@ -147,7 +147,7 @@ void AnimationNodeBlendTreeEditor::_update_graph() { node->add_child(name); node->set_slot(0, false, 0, Color(), true, 0, get_color("font_color", "Label")); name->connect("text_entered", this, "_node_renamed", varray(agnode)); - name->connect("focus_exited", this, "_node_renamed_focus_out", varray(name, agnode)); + name->connect("focus_exited", this, "_node_renamed_focus_out", varray(name, agnode), CONNECT_DEFERRED); base = 1; node->set_show_close_button(true); node->connect("close_request", this, "_delete_request", varray(E->get()), CONNECT_DEFERRED); |