commit 77f5f140f5dcab229258f82a535f8ddfbbf5943b parent 5c398bddd196efdbec360c588aff13fe4bdd3948 Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Sat, 4 May 2024 11:07:07 +0200 do not display context menu if multiple tags are selected Diffstat:
M | source/jucePluginEditorLib/patchmanager/tagtreeitem.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/jucePluginEditorLib/patchmanager/tagtreeitem.cpp b/source/jucePluginEditorLib/patchmanager/tagtreeitem.cpp @@ -71,7 +71,7 @@ namespace jucePluginEditorLib::patchManager const auto tagType = toTagType(getGroupType()); - if(tagType != pluginLib::patchDB::TagType::Invalid) + if(tagType != pluginLib::patchDB::TagType::Invalid && getOwnerView()->getNumSelectedItems() == 1) { juce::PopupMenu menu; const auto& s = getPatchManager().getSearch(getSearchHandle());