From 14a600171b1243e29ce805cf62d6b3fbbb881b82 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Fri, 14 Dec 2018 14:56:23 -0500 Subject: [PATCH] Fix issue #29 on RMB for wavetable Former-commit-id: d404bdd04b9660a904e793ba85ecd75c5d5129f6 --- src/common/gui/COscillatorDisplay.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/gui/COscillatorDisplay.cpp b/src/common/gui/COscillatorDisplay.cpp index 0a4ec22511c..1ce70ba3f04 100644 --- a/src/common/gui/COscillatorDisplay.cpp +++ b/src/common/gui/COscillatorDisplay.cpp @@ -288,6 +288,7 @@ CMouseEventResult COscillatorDisplay::onMouseDown(CPoint& where, const CButtonSt getFrame()->addView(contextMenu); // add to frame contextMenu->setDirty(); + contextMenu->popup(); contextMenu->onMouseDown(where, kLButton); // <-- modal menu loop is here // getFrame()->looseFocus(pContext); @@ -323,4 +324,4 @@ CMouseEventResult COscillatorDisplay::onMouseMoved(CPoint& where, const CButtonS invalid();*/ } return kMouseEventHandled; -} \ No newline at end of file +}