mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Check bookmarks nullity and return in Comic before updating the bookmark image.
This commit is contained in:
parent
f3f4e7720a
commit
3cb6e2cd85
@ -176,7 +176,11 @@ void Comic::checkIsBookmark(int index)
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
void Comic::updateBookmarkImage(int index)
|
||||
{
|
||||
{
|
||||
if (bm == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(bm->isBookmark(index))
|
||||
{
|
||||
QImage p;
|
||||
|
Loading…
Reference in New Issue
Block a user