AUP3: UP-29 Save Project does not propagate project name to Audacity window

This commit is contained in:
Leland Lucius 2020-07-15 08:28:00 -05:00
parent 176eb49a1e
commit 01181c8f21
1 changed files with 3 additions and 0 deletions

View File

@ -314,6 +314,9 @@ bool ProjectFileManager::DoSave(const FilePath & fileName, const bool fromSaveAs
return false;
}
proj.SetProjectName(wxFileName(fileName).GetName());
projectFileIO.SetProjectTitle();
UndoManager::Get(proj).StateSaved();
ProjectStatus::Get(proj).Set(XO("Saved %s").Format(fileName));