We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21d1d08 commit 53d68c0Copy full SHA for 53d68c0
src/gui/editors/PianoRoll.cpp
@@ -1671,10 +1671,10 @@ void PianoRoll::mousePressEvent(QMouseEvent * me )
1671
// clicked on keyboard on the left
1672
if( me->buttons() == Qt::RightButton )
1673
{
1674
- // right click, tone marker contextual menu
+ // right click - tone marker contextual menu
1675
m_semiToneMarkerMenu->popup( mapToGlobal( QPoint( me->x(), me->y() ) ) );
1676
}
1677
- else
+ else if( me->buttons() == Qt::LeftButton )
1678
1679
// left click - play the note
1680
int v = ( (float) x ) / ( (float) WHITE_KEY_WIDTH ) * MidiDefaultVelocity;
0 commit comments