Skip to content

Commit

Permalink
fix #17339: MacOSX, startup dialog should not appear if score double …
Browse files Browse the repository at this point in the history
…clicked in Finder
  • Loading branch information
lasconic committed Jul 21, 2012
1 parent 13ded89 commit a8835be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mscore/musescore.cpp
Expand Up @@ -2419,8 +2419,11 @@ int main(int argc, char* av[])
++files;
}
#ifdef Q_WS_MAC
if (!mscore->restoreSession(preferences.sessionStart == LAST_SESSION))
loadScores(static_cast<MuseScoreApplication*>(qApp)->paths);
if (!mscore->restoreSession(preferences.sessionStart == LAST_SESSION)) {
MuseScoreApplication* mApp = static_cast<MuseScoreApplication*>(qApp);
loadScores(mApp->paths);
files = mApp->paths.size();
}
#else
//
// TODO: delete old session backups
Expand Down

0 comments on commit a8835be

Please sign in to comment.