(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:
Andrew Kelley
2008-12-07 21:01:17 +00:00
parent c6efb8b5e8
commit ae0756c43b
2 changed files with 6 additions and 2 deletions

View File

@@ -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:

View File

@@ -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();