Don't remove audio files from the recently used files list when loading is cancelled
Originally committed to SVN as r6354.
This commit is contained in:
parent
bce29f5a9a
commit
e6d86a1af4
1 changed files with 3 additions and 0 deletions
|
@ -296,6 +296,9 @@ void AudioController::OpenAudio(const wxString &url)
|
|||
provider = AudioProviderFactory::GetProvider(url);
|
||||
StandardPaths::SetPathValue("?audio", wxFileName(url).GetPath());
|
||||
}
|
||||
catch (agi::UserCancelException const&) {
|
||||
throw;
|
||||
}
|
||||
catch (...) {
|
||||
config::mru->Remove("Audio", STD_STR(url));
|
||||
throw;
|
||||
|
|
Loading…
Reference in a new issue