Skip to content

Commit

Permalink
fix #66441: Continue last session plus StartCenter doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Jun 26, 2015
1 parent 4277f6e commit 5109289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4997,7 +4997,7 @@ int main(int argc, char* av[])
if (mscore->hasToCheckForUpdate())
mscore->checkForUpdate();

if (!scoresOnCommandline && preferences.showStartcenter && !restoredSession) {
if (!scoresOnCommandline && preferences.showStartcenter && (!restoredSession || mscore->scores().size() == 0)) {
#ifdef Q_OS_MAC
// ugly, but on mac we get an event when a file is open.
// We can't get the event when the startcenter is shown.
Expand Down

0 comments on commit 5109289

Please sign in to comment.