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