Merge pull request #679 from diizy/master

PianoRoll: allow shift-right-click in addition to middle-click in vol/pa...
This commit is contained in:
Vesa V
2014-05-03 23:53:50 +03:00

View File

@@ -2247,7 +2247,8 @@ void PianoRoll::mouseMoveEvent( QMouseEvent * _me )
}
}
else if( ( edit_note == true || m_action == ActionChangeNoteProperty ) &&
( _me->buttons() & Qt::LeftButton || _me->buttons() & Qt::MiddleButton ) )
( _me->buttons() & Qt::LeftButton || _me->buttons() & Qt::MiddleButton
|| ( _me->buttons() & Qt::RightButton && _me->modifiers() & Qt::ShiftModifier ) ) )
{
// editing note properties