This commit is contained in:
Felix Kauselmann
2015-02-24 19:04:21 +01:00
parent 445f725ee2
commit 4b078a9f15
5 changed files with 30 additions and 9 deletions

View File

@ -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);

View File

@ -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();
}