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 LMMS#3005
  • Loading branch information
Veratil authored and Reflexe committed Apr 4, 2020
1 parent 6c95b31 commit 265c15f
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 @@ -1948,6 +1948,10 @@ void PianoRoll::mouseDoubleClickEvent(QMouseEvent * me )
enterValue( &nv );
}
}
else
{
QWidget::mouseDoubleClickEvent(me);
}
}


Expand Down

0 comments on commit 265c15f

Please sign in to comment.