From 149eca1ec9beb96b9da7fde361b373ac73d0f191 Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Wed, 22 Apr 2020 22:25:14 +0200 Subject: [PATCH] Note selection: Editing values works in dialog (#5438) --- src/gui/editors/PianoRoll.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index 92446399530..d6dec21ee46 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -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 ) {