Skip to content

Commit

Permalink
Merge pull request #6138 from MarcSabatella/297446-shift-click-nothing
Browse files Browse the repository at this point in the history
fix #297446: shift+click empty space clears selection
  • Loading branch information
anatoly-os authored Jun 2, 2020
2 parents 436534d + 8375251 commit 3025046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,10 @@ void ScoreView::mousePressEventNormal(QMouseEvent* ev)
_score->select(m, st, staffIdx);
_score->setUpdateAll();
}
else if (st != SelectType::ADD)
else if (st == SelectType::SINGLE)
modifySelection = true;
}
else if (st != SelectType::ADD)
else if (st == SelectType::SINGLE)
modifySelection = true;
}
_score->update();
Expand Down

0 comments on commit 3025046

Please sign in to comment.