forked from mia/Aegisub
Handle missing recently used subtitle files better
This commit is contained in:
parent
960dc3723b
commit
02ca3360ca
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ void Project::DoLoadSubtitles(agi::fs::path const& path, std::string encoding) {
|
|||
catch (agi::UserCancelException const&) {
|
||||
return;
|
||||
}
|
||||
catch (agi::fs::FileNotFound const&) {
|
||||
config::mru->Remove("Subtitle", path);
|
||||
return ShowError(path.string() + " not found.");
|
||||
}
|
||||
|
||||
if (encoding != "binary") {
|
||||
// Try loading as timecodes and keyframes first since we can't
|
||||
|
|
Loading…
Reference in a new issue