do not crash when pressing right mouse button while moving a note with left mouse button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1744 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1090,7 +1090,7 @@ void pianoRoll::mousePressEvent( QMouseEvent * _me )
|
||||
|
||||
engine::getSong()->setModified();
|
||||
}
|
||||
else if( ( _me->button() == Qt::RightButton &&
|
||||
else if( ( _me->buttons() == Qt::RightButton &&
|
||||
m_editMode == ModeDraw ) ||
|
||||
m_editMode == ModeErase )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user