YACReader: Show error when opening nonexistent open recent entry

This commit is contained in:
Felix Kauselmann 2021-06-28 19:30:47 +02:00
parent ca81b5424a
commit 54b9952253

View File

@ -810,6 +810,9 @@ void MainWindowViewer::openComicFromRecentAction(QAction *action)
} else if (info1.isDir()) {
openFolderFromPath(action->data().toString());
}
} else {
viewer->resetContent();
viewer->showMessageErrorOpening();
}
}