mirror of
https://github.com/YACReader/yacreader
synced 2025-12-09 18:53:36 -05:00
merge
This commit is contained in:
@ -578,6 +578,7 @@ void MainWindowViewer::createToolBars()
|
||||
viewer->addAction(leftRotationAction);
|
||||
viewer->addAction(rightRotationAction);
|
||||
viewer->addAction(doublePageAction);
|
||||
viewer->addAction(doubleMangaPageAction);
|
||||
YACReader::addSperator(viewer);
|
||||
|
||||
viewer->addAction(showMagnifyingGlassAction);
|
||||
|
||||
@ -849,7 +849,7 @@ void Render::nextPage()
|
||||
update();
|
||||
emit pageChanged(currentIndex);
|
||||
}
|
||||
else
|
||||
else if (hasLoadedComic() && (currentIndex == numPages()-1))
|
||||
{
|
||||
emit isLast();
|
||||
}
|
||||
@ -873,7 +873,7 @@ void Render::nextDoublePage()
|
||||
update();
|
||||
emit pageChanged(currentIndex);
|
||||
}
|
||||
else
|
||||
else if (hasLoadedComic() && (currentIndex >= numPages()-2))
|
||||
{
|
||||
emit isLast();
|
||||
}
|
||||
@ -894,7 +894,7 @@ void Render::previousPage()
|
||||
update();
|
||||
emit pageChanged(currentIndex);
|
||||
}
|
||||
else
|
||||
else if (hasLoadedComic() && (currentIndex == 0))
|
||||
{
|
||||
emit isCover();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user