Do not change page, if already on the right page

fixes #416
presentation
Andreas Butti 7 years ago
parent 4f1b39526d
commit 323837a91a
  1. 2
      src/control/ZoomControl.cpp

@ -74,7 +74,7 @@ void ZoomControl::fireZoomChanged(double lastZoom)
z->zoomChanged(lastZoom);
}
if (view != NULL)
if (view != NULL && page != this->currentPage)
{
// Restore page
view->scrollTo(page, 0);

Loading…
Cancel
Save