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:
@@ -7,7 +7,9 @@
|
||||
set global alignment via a #define
|
||||
|
||||
* src/gui/piano_roll.cpp:
|
||||
fixed typo
|
||||
- fixed typo
|
||||
- do not crash when pressing right mouse button while moving a note
|
||||
with left mouse button
|
||||
|
||||
* src/core/song.cpp:
|
||||
lock mixer while adjusting lengths of notePlayHandles after tempo change
|
||||
|
||||
@@ -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