1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-06 03:32:09 +01:00

Bug 330 (P2) - Fix an issue where multiple projects would cause the warning dialogs to pop up above the wrong project.

I refactored the code into AudacityApp with a new timer.  This is provisional pending discussion - if it is decided that it should go somewhere else I will move it.
This commit is contained in:
mchinen
2011-03-29 23:39:00 +00:00
parent c226ae9265
commit 91d8f132a6
12 changed files with 167 additions and 113 deletions

View File

@@ -109,8 +109,8 @@ int PCMAliasBlockFile::ReadData(samplePtr data, sampleFormat format,
mSilentAliasLog=TRUE;
// Set a marker to display an error message for the silence
if (gAudioIO)
gAudioIO->MarkAliasedFilesMissingWarning();
if (!wxGetApp().ShouldShowMissingAliasedFileWarning())
wxGetApp().MarkAliasedFilesMissingWarning(this);
return len;
}