diff --git a/common/comic.cpp b/common/comic.cpp index dfe9d065..64b00c83 100644 --- a/common/comic.cpp +++ b/common/comic.cpp @@ -176,7 +176,11 @@ void Comic::checkIsBookmark(int index) } //----------------------------------------------------------------------------- void Comic::updateBookmarkImage(int index) -{ +{ + if (bm == nullptr) { + return; + } + if(bm->isBookmark(index)) { QImage p;