Skip to content

Commit

Permalink
Note selection: Editing values works in dialog (#5438)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine authored Apr 22, 2020
1 parent 27b1ce9 commit 149eca1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1772,8 +1772,9 @@ void PianoRoll::mouseDoubleClickEvent(QMouseEvent * me )
{
const Note * closest = NULL;
int closest_dist = 9999999;
// if we caught multiple notes, find the closest...
if( nv.size() > 1 )
// if we caught multiple notes and we're not editing a
// selection, find the closest...
if( nv.size() > 1 && !isSelection() )
{
for ( const Note * i : nv )
{
Expand Down

0 comments on commit 149eca1

Please sign in to comment.