Skip to content

Commit

Permalink
Fix issue surge-synthesizer#29 on RMB for wavetable
Browse files Browse the repository at this point in the history
Former-commit-id: d404bdd
  • Loading branch information
baconpaul committed Dec 14, 2018
1 parent 146d2d0 commit 14a6001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/gui/COscillatorDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -323,4 +324,4 @@ CMouseEventResult COscillatorDisplay::onMouseMoved(CPoint& where, const CButtonS
invalid();*/
}
return kMouseEventHandled;
}
}

0 comments on commit 14a6001

Please sign in to comment.