commit 506bfbb987aebe04abec13f7104632b1b67e05fe
parent 1f189b2b97fe5489c0d7cde62edd0285d21f2d9d
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sun, 20 Mar 2022 13:00:49 +0100
fix context menu not being cross-platform in file browser
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/jucePlugin/ui3/PatchBrowser.cpp b/source/jucePlugin/ui3/PatchBrowser.cpp
@@ -232,7 +232,7 @@ namespace genericVirusUI
{
const auto ext = file.getFileExtension().toLowerCase();
const auto path = file.getParentDirectory().getFullPathName();
- if (file.isDirectory() && e.mods.isRightButtonDown())
+ if (file.isDirectory() && e.mods.isPopupMenu())
{
auto p = PopupMenu();
p.addItem("Add directory contents to patch list", [this, file]()