Skip to content
Extraits de code Groupes Projets
Valider 6943b868 rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Handle file not found errors when opening linked audio from subtitles

parent ffab39b2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -749,6 +749,10 @@ void FrameMain::OnSubtitlesOpen() {
context->audioController->OpenAudio(curSubsAudio);
}
catch (agi::UserCancelException const&) { }
catch (agi::FileNotAccessibleError const& err) {
config::mru->Remove("Audio", STD_STR(curSubsAudio));
wxMessageBox(lagi_wxString(err.GetMessage()), "Error opening audio", wxOK | wxICON_ERROR | wxCENTER, this);
}
}
SetDisplayMode(1, 1);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter