diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index 9b65c684798..1a8ea2538ef 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -1670,10 +1670,10 @@ void PianoRoll::mousePressEvent(QMouseEvent * me ) // clicked on keyboard on the left if( me->buttons() == Qt::RightButton ) { - // right click, tone marker contextual menu + // right click - tone marker contextual menu m_semiToneMarkerMenu->popup( mapToGlobal( QPoint( me->x(), me->y() ) ) ); } - else + else if( me->buttons() == Qt::LeftButton ) { // left click - play the note int v = ( (float) x ) / ( (float) WHITE_KEY_WIDTH ) * MidiDefaultVelocity;