Only set a comic as reading if it has been opened beyod the cover.

This commit is contained in:
Luis Ángel San Martín 2018-05-20 14:48:08 +02:00
parent 82cfdfdf30
commit 45e44fa54f

View File

@ -695,7 +695,7 @@ void DBHelper::updateProgress(qulonglong libraryId, const ComicInfo &comicInfo)
ComicDB comic = DBHelper::loadComic(comicInfo.id,db);
comic.info.currentPage = comicInfo.currentPage;
comic.info.hasBeenOpened = true;
comic.info.hasBeenOpened = comicInfo.currentPage > 0 || comic.info.hasBeenOpened;
comic.info.read = comic.info.read || comic.info.currentPage == comic.info.numPages;
DBHelper::updateReadingRemoteProgress(comic.info,db);