Check bookmarks nullity and return in Comic before updating the bookmark image.

This commit is contained in:
Luis Ángel San Martín 2018-04-25 22:16:20 +02:00
parent f3f4e7720a
commit 3cb6e2cd85

View File

@ -176,7 +176,11 @@ void Comic::checkIsBookmark(int index)
}
//-----------------------------------------------------------------------------
void Comic::updateBookmarkImage(int index)
{
{
if (bm == nullptr) {
return;
}
if(bm->isBookmark(index))
{
QImage p;