Skip to content

Commit

Permalink
Merge pull request #5709 from mattmcclinch/301108-cancel-selection
Browse files Browse the repository at this point in the history
fix #301108: Difficulty canceling a selection
  • Loading branch information
dmitrio95 committed Feb 14, 2020
2 parents d148e75 + 2775435 commit ce2e21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,6 @@ void ScoreView::adjustCursorForTextEditing(QMouseEvent* mouseEvent)

void ScoreView::mouseMoveEvent(QMouseEvent* me)
{
modifySelection = false;
adjustCursorForTextEditing(me);

if (state != ViewState::NOTE_ENTRY && editData.buttons == Qt::NoButton)
Expand Down Expand Up @@ -643,6 +642,7 @@ void ScoreView::mouseMoveEvent(QMouseEvent* me)
}
}
changeState(ViewState::DRAG);
modifySelection = false;
break;

case ViewState::NOTE_ENTRY: {
Expand Down

0 comments on commit ce2e21c

Please sign in to comment.