mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Fix update from remote client.
current page has to be set before checking for read.
This commit is contained in:
@ -753,11 +753,11 @@ void DBHelper::updateFromRemoteClient(qulonglong libraryId,const ComicInfo & com
|
||||
{
|
||||
if(comicInfo.currentPage > 0)
|
||||
{
|
||||
comic.info.currentPage = comicInfo.currentPage;
|
||||
|
||||
if(comic.info.currentPage == comic.info.numPages)
|
||||
comic.info.read = true;
|
||||
|
||||
comic.info.currentPage = comicInfo.currentPage;
|
||||
|
||||
comic.info.hasBeenOpened = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user