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