Skip to content

Commit

Permalink
fix #185876: mavigator affects all open scores
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Apr 24, 2017
1 parent 75539eb commit 1bf2fc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1550,8 +1550,8 @@ void MuseScore::setCurrentScoreView(ScoreView* view)
setPos(cs->inputPos());
//showMessage(cs->filePath(), 2000);
if (_navigator && _navigator->widget()) {
navigator()->setScore(cs);
navigator()->setScoreView(view);
navigator()->setScore(cs);
}
ScoreAccessibility::instance()->updateAccessibilityInfo();
}
Expand Down
3 changes: 2 additions & 1 deletion mscore/navigator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ void Navigator::setScoreView(ScoreView* v)

void Navigator::setScore(Score* v)
{
_cv = 0;
// see https://musescore.org/en/node/185876
//_cv = 0;
_score = v;
rescale();
updateViewRect();
Expand Down

0 comments on commit 1bf2fc8

Please sign in to comment.