mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
YACReader: Show error when opening nonexistent open recent entry
This commit is contained in:
parent
ca81b5424a
commit
54b9952253
@ -810,6 +810,9 @@ void MainWindowViewer::openComicFromRecentAction(QAction *action)
|
|||||||
} else if (info1.isDir()) {
|
} else if (info1.isDir()) {
|
||||||
openFolderFromPath(action->data().toString());
|
openFolderFromPath(action->data().toString());
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
viewer->resetContent();
|
||||||
|
viewer->showMessageErrorOpening();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user