Fix selected-note volume bug

Closes #2070
This commit is contained in:
Tres Finocchiaro
2015-05-24 13:55:09 -04:00
parent a644183a57
commit f403299460

View File

@@ -2098,7 +2098,7 @@ void PianoRoll::mouseMoveEvent( QMouseEvent * me )
if ( isUnderPosition ) { testPlayNote( n ); }
// If note is the one under the cursor or is selected when alt is
// not pressed
if ( isUnderPosition || ( n->selected() && !altPressed ) )
if ( ( isUnderPosition && !isSelection() ) || ( n->selected() && !altPressed ) )
{
if( m_noteEditMode == NoteEditVolume )
{