From f40329946024b93c92bdd9c2c46b8390a027d393 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Sun, 24 May 2015 13:55:09 -0400 Subject: [PATCH] Fix selected-note volume bug Closes #2070 --- src/gui/editors/PianoRoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index 8d02ddcf1..1ca1a51ca 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -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 ) {