Skip to content

Commit

Permalink
Merge pull request #5161 from mattmcclinch/291089-context-menu
Browse files Browse the repository at this point in the history
fix #291089: Leaving edit mode requires second click
  • Loading branch information
dmitrio95 authored and anatoly-os committed Jun 25, 2019
1 parent b806a80 commit 7ff1323
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mscore/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,7 @@ void ScoreView::contextMenuEvent(QContextMenuEvent* ev)
}
QPoint gp = ev->globalPos();
editData.startMove = toLogical(ev->pos());
editData.buttons = Qt::NoButton;
Element* e = elementNear(editData.startMove);
if (e) {
if (!e->selected()) {
Expand Down

0 comments on commit 7ff1323

Please sign in to comment.