mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fix determining if we are in double page or not.
This commit is contained in:
parent
c93e86af12
commit
c97bc6ef88
@ -1186,8 +1186,8 @@ void Viewer::updateComic(ComicDB & comic)
|
||||
{
|
||||
if(render->hasLoadedComic())
|
||||
{
|
||||
//set currentPage
|
||||
if(render->currentPageIsDoublePage() == false)
|
||||
//set currentPage
|
||||
if(!doublePage || (doublePage && render->currentPageIsDoublePage() == false))
|
||||
{
|
||||
comic.info.currentPage = render->getIndex()+1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user