summaryrefslogtreecommitdiff
path: root/editor/plugins/asset_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-08 16:02:09 +0100
committerGitHub <noreply@github.com>2021-03-08 16:02:09 +0100
commit14f330c95e0e95fa0162ce4ac227fe74afa5f268 (patch)
tree5084140c0b1786495a999daa5e5f5ae85873d993 /editor/plugins/asset_library_editor_plugin.cpp
parent26d1b30d35d0897e18e4bc9521c1833eb1bdcf0c (diff)
parentefe05a166e03c087fe0a301fb7bfd3c256eaa354 (diff)
Merge pull request #46771 from socket220/master
pop-up usability enhancement for support-level button
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.cpp')
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index 064314f439..030ce4655d 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -1396,6 +1396,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
support = memnew(MenuButton);
search_hb2->add_child(support);
support->set_text(TTR("Support"));
+ support->get_popup()->set_hide_on_checkable_item_selection(false);
support->get_popup()->add_check_item(TTR("Official"), SUPPORT_OFFICIAL);
support->get_popup()->add_check_item(TTR("Community"), SUPPORT_COMMUNITY);
support->get_popup()->add_check_item(TTR("Testing"), SUPPORT_TESTING);