Don't display an error message if the user cancels audio loading
Originally committed to SVN as r5803.
This commit is contained in:
parent
31a3b9aae0
commit
52a2316934
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ struct audio_open : public Command {
|
|||
OPT_SET("Path/Last/Audio")->SetString(STD_STR(filename));
|
||||
}
|
||||
}
|
||||
catch (agi::UserCancelException const&) { }
|
||||
catch (agi::Exception const& e) {
|
||||
wxMessageBox(lagi_wxString(e.GetChainedMessage()), "Error loading file", wxICON_ERROR | wxOK);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue