1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Bug 396 (P4) Fix double dialog with Files Missing and Missing Aliased File(s) from appearing. Patch by Martyn Shaw.

This commit is contained in:
mchinen
2011-06-01 18:22:06 +00:00
parent 927c34e5e2
commit b9725a6c13

View File

@@ -1332,6 +1332,7 @@ void DirManager::Deref()
// recent savefile.
int DirManager::ProjectFSCK(const bool bForceError, const bool bAutoRecoverMode)
{
wxGetApp().SetMissingAliasedFileWarningShouldShow(false);
wxArrayString filePathArray; // *all* files in the project directory/subdirectories
wxString dirPath = (projFull != wxT("") ? projFull : mytemp);
RecursivelyEnumerateWithProgress(
@@ -1608,6 +1609,7 @@ _("Project check found %d orphan blockfile(s). These files are \
wxOK | wxICON_EXCLAMATION);
}
wxGetApp().SetMissingAliasedFileWarningShouldShow(true);
return nResult;
}