if a different window was selected and you hold control and then click in the piano roll, it didn't do selection like it should (FIXED)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1938 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1271,6 +1271,16 @@ void pianoRoll::mousePressEvent( QMouseEvent * _me )
|
||||
noteUnderMouse()->editDetuningPattern();
|
||||
return;
|
||||
}
|
||||
|
||||
// if holding control, go to selection mode
|
||||
if( _me->modifiers() & Qt::ControlModifier && m_editMode != ModeSelect )
|
||||
{
|
||||
m_ctrlMode = m_editMode;
|
||||
m_editMode = ModeSelect;
|
||||
QApplication::changeOverrideCursor(
|
||||
QCursor( Qt::ArrowCursor ) );
|
||||
update();
|
||||
}
|
||||
|
||||
// keep track of the point where the user clicked down
|
||||
if( _me->button() == Qt::LeftButton )
|
||||
|
||||
Reference in New Issue
Block a user