diff options
| author | Thomas Herzog | 2017-06-20 00:20:21 +0200 |
|---|---|---|
| committer | GitHub | 2017-06-20 00:20:21 +0200 |
| commit | 86407aebc5d13afb4686f254d3bc10f036611d1b (patch) | |
| tree | 6b8f420b4ac9189a1869b070a31aa81b4b36aa22 /editor/plugins/texture_region_editor_plugin.cpp | |
| parent | bfac7c476d674573bcc94f422d8fd74c4aee2a6b (diff) | |
| parent | aa63fd1551fd99d5936999ad0607f48755dc2963 (diff) | |
| download | godot-86407aebc5d13afb4686f254d3bc10f036611d1b.tar.gz godot-86407aebc5d13afb4686f254d3bc10f036611d1b.tar.zst godot-86407aebc5d13afb4686f254d3bc10f036611d1b.zip | |
Merge pull request #8407 from Jylhis/popup_item_select_hide
Update PopupMenu hiding
Diffstat (limited to 'editor/plugins/texture_region_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/texture_region_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp index 976a7b627..ea5bf437f 100644 --- a/editor/plugins/texture_region_editor_plugin.cpp +++ b/editor/plugins/texture_region_editor_plugin.cpp @@ -792,6 +792,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) { hb_tools->add_child(snap_mode_button); snap_mode_button->set_text(TTR("<None>")); PopupMenu *p = snap_mode_button->get_popup(); + p->set_hide_on_checkable_item_selection(false); p->add_item(TTR("<None>"), 0); p->add_item(TTR("Pixel Snap"), 1); p->add_item(TTR("Grid Snap"), 2); |
