gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 7328b00e829862f0454087000588ce75046181f8
parent bd1803cfa4141dbeaad7be697d037037e0a51c06
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu,  3 Oct 2024 17:15:02 +0200

do not open global context menu if mouse is inside tree views

Diffstat:
Msource/jucePluginEditorLib/pluginEditorWindow.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/source/jucePluginEditorLib/pluginEditorWindow.cpp b/source/jucePluginEditorLib/pluginEditorWindow.cpp @@ -137,6 +137,8 @@ void EditorWindow::mouseDown(const juce::MouseEvent& event) return; if(dynamic_cast<juce::Button*>(event.eventComponent)) return; + if(event.eventComponent->findParentComponentOfClass<juce::TreeView>()) + return; m_state.openMenu(&event); }