Skip to content

Commit

Permalink
Fix vertical piano mouse click unresponsiveness
Browse files Browse the repository at this point in the history
`PianoRoll::mouseDoubleClickEvent` wasn't forwarding the event to the base class when not acting on the event. The base class calls `mousePressEvent`.

Fixes #3005
  • Loading branch information
Veratil authored and lukas-w committed Nov 1, 2019
1 parent 08c7e8e commit a8d91b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1796,6 +1796,10 @@ void PianoRoll::mouseDoubleClickEvent(QMouseEvent * me )
enterValue( &nv );
}
}
else
{
QWidget::mouseDoubleClickEvent(me);
}
}


Expand Down

0 comments on commit a8d91b1

Please sign in to comment.