We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e41f055 + 3aa454d commit c6cba47Copy full SHA for c6cba47
mscore/scoretab.cpp
@@ -228,7 +228,8 @@ void ScoreTab::updateExcerpts()
228
Score* score = v->score()->rootScore();
229
clearTab2();
230
//delete all scoreviews for parts, especially for the deleted ones
231
- for (int i = 0; i < stack->count(); ++i) {
+ int n = stack->count() - 1;
232
+ for (int i = n; i >= 0; --i) {
233
QSplitter* vs = static_cast<QSplitter*>(stack->widget(i));
234
ScoreView* sview = static_cast<ScoreView*>(vs->widget(0));
235
0 commit comments