Add nullity check

This commit is contained in:
Luis Ángel San Martín 2024-12-28 14:46:52 +01:00
parent f5eb81dcac
commit 90310a78bb

View File

@ -436,6 +436,10 @@ void GridComicsView::dummyUpdater()
void GridComicsView::setCurrentComicIfNeeded()
{
if (model == nullptr) {
return;
}
bool found;
currentComic = currentComicFromModel(model, found);