diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-03-13 11:55:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 11:55:17 +0100 |
commit | 6d59bc67a0dd8828eb95f33339054b1555e64380 (patch) | |
tree | bb14254d79d7943d3dc7f907fd3376d9674cb4e8 /editor | |
parent | 319167a67ab027fe63b533d09efe6b4dfb85b8c7 (diff) | |
parent | 6d51b6ab429fca592505d9bdbf44130f12dd3ecc (diff) |
Merge pull request #17379 from poke1024/fix-anim-popups
AnimationPlayer: fix popups close on double click
Diffstat (limited to 'editor')
-rw-r--r-- | editor/animation_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/animation_editor.cpp b/editor/animation_editor.cpp index 61a35f7a40..439ec37e71 100644 --- a/editor/animation_editor.cpp +++ b/editor/animation_editor.cpp @@ -4021,6 +4021,7 @@ AnimationKeyEditor::AnimationKeyEditor() { //key_edit->ke_dialog=key_edit_dialog; type_menu = memnew(PopupMenu); + type_menu->set_pass_on_modal_close_click(false); add_child(type_menu); for (int i = 0; i < Variant::VARIANT_MAX; i++) type_menu->add_item(Variant::get_type_name(Variant::Type(i)), i); @@ -4061,6 +4062,7 @@ AnimationKeyEditor::AnimationKeyEditor() { add_child(track_name); track_name->connect("text_entered", this, "_track_name_changed"); track_menu = memnew(PopupMenu); + track_menu->set_pass_on_modal_close_click(false); add_child(track_menu); track_menu->connect("id_pressed", this, "_track_menu_selected"); |