Skip to content

Commit

Permalink
fix selection of default workspace on first run
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Sep 12, 2014
1 parent bcb051d commit e2a6fbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mscore/preferences.cpp
Expand Up @@ -216,7 +216,7 @@ void Preferences::init()

exportAudioSampleRate = exportAudioSampleRates[0];

workspace = "default";
workspace = "Basic";
};

//---------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion mscore/workspace.cpp
Expand Up @@ -78,7 +78,7 @@ void MuseScore::showWorkspaceMenu()
QAction* a = workspaces->addAction(qApp->translate("Ms::Workspace", p->name().toUtf8()));
a->setCheckable(true);
a->setData(p->path());
a->setChecked(a->text() == preferences.workspace);
a->setChecked(p->name() == preferences.workspace);
menuWorkspaces->addAction(a);
}

Expand Down

0 comments on commit e2a6fbd

Please sign in to comment.