mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
New attached structure ProjectFileIO handles load and save
This commit is contained in:
@@ -621,11 +621,12 @@ int TimerRecordDialog::ExecutePostRecordActions(bool bWasStopped) {
|
||||
// Do Automatic Save?
|
||||
if (m_bAutoSaveEnabled) {
|
||||
|
||||
auto &projectFileIO = ProjectFileIO::Get( *pProject );
|
||||
// MY: If this project has already been saved then simply execute a Save here
|
||||
if (m_bProjectAlreadySaved) {
|
||||
bSaveOK = pProject->Save();
|
||||
bSaveOK = projectFileIO.Save();
|
||||
} else {
|
||||
bSaveOK = pProject->SaveFromTimerRecording(m_fnAutoSaveFile);
|
||||
bSaveOK = projectFileIO.SaveFromTimerRecording(m_fnAutoSaveFile);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user