(hopefully) fixed bug where shift+drag wasn't copying notes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1875 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-12-07 Andrew Kelley <superjoe30/at/gmail/dot/com>
|
||||
|
||||
* src/gui/piano_roll.cpp:
|
||||
(hopefully) fixed bug where shift+drag wasn't copying notes
|
||||
|
||||
2008-12-05 Andrew Kelley <superjoe30/at/gmail/dot/com>
|
||||
|
||||
* include/piano_roll.h:
|
||||
|
||||
@@ -1290,10 +1290,9 @@ void pianoRoll::mousePressEvent( QMouseEvent * _me )
|
||||
QApplication::setOverrideCursor( c );
|
||||
|
||||
// if they're holding shift, copy all selected notes
|
||||
if( *it != created_new_note &&
|
||||
if( //*it != created_new_note &&
|
||||
_me->modifiers() & Qt::ShiftModifier )
|
||||
{
|
||||
|
||||
// vector to hold new notes until we're through the loop
|
||||
QVector<note> newNotes;
|
||||
it = notes.begin();
|
||||
|
||||
Reference in New Issue
Block a user