fix #19208: Opening Page Settings causes crash
This commit is contained in:
parent
c8669b6ee9
commit
2a9184b3e2
1 changed files with 1 additions and 1 deletions
|
@ -156,11 +156,11 @@ void Navigator::setScoreView(ScoreView* v)
|
|||
void Navigator::setScore(Score* v)
|
||||
{
|
||||
_cv = 0;
|
||||
_score = v;
|
||||
if (v) {
|
||||
rescale();
|
||||
setViewRect(QRect());
|
||||
}
|
||||
_score = v;
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue