mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Add nullity check
This commit is contained in:
@ -436,6 +436,10 @@ void GridComicsView::dummyUpdater()
|
||||
|
||||
void GridComicsView::setCurrentComicIfNeeded()
|
||||
{
|
||||
if (model == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool found;
|
||||
currentComic = currentComicFromModel(model, found);
|
||||
|
||||
|
Reference in New Issue
Block a user