Note selection: Editing values works in dialog (#5438)

This commit is contained in:
Oskar Wallgren
2020-04-22 22:25:14 +02:00
committed by GitHub
parent 27b1ce914b
commit 149eca1ec9

View File

@@ -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 )
{