fix window title when displaying parts
This commit is contained in:
parent
b48eab1c84
commit
25410a15fa
1 changed files with 6 additions and 6 deletions
|
@ -5500,14 +5500,14 @@ void MuseScore::restoreGeometry(QWidget *const qw)
|
|||
void MuseScore::updateWindowTitle(Score* score)
|
||||
{
|
||||
#ifdef Q_OS_MAC
|
||||
if (score->created()) {
|
||||
setWindowTitle(score->title());
|
||||
if (!cs->isMaster())
|
||||
setWindowTitle(cs->masterScore()->title() + "-" + cs->title());
|
||||
else
|
||||
setWindowTitle(cs->title());
|
||||
if (score->masterScore()->created())
|
||||
setWindowFilePath(QString());
|
||||
}
|
||||
else {
|
||||
setWindowTitle(QString());
|
||||
else
|
||||
setWindowFilePath(score->masterScore()->fileInfo()->absoluteFilePath());
|
||||
}
|
||||
#else
|
||||
setWindowTitle(MUSESCORE_NAME_VERSION ": " + score->title());
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue