fix #19208: Opening Page Settings causes crash

This commit is contained in:
lasconic 2012-12-06 15:15:02 +01:00
parent c8669b6ee9
commit 2a9184b3e2

View file

@ -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();
}