diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index 9d96e5b6..eb34312e 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -846,9 +846,9 @@ void Viewer::animateShowGoToFlow() showGoToFlowAnimation->setStartValue(QPoint((width() - goToFlow->width()) / 2, height() - 10)); showGoToFlowAnimation->setEndValue(QPoint((width() - goToFlow->width()) / 2, height() - goToFlow->height())); showGoToFlowAnimation->start(); - goToFlow->centerSlide(render->getIndex()); - goToFlow->setPageNumber(render->getIndex()); goToFlow->show(); + goToFlow->setPageNumber(render->getIndex()); + goToFlow->centerSlide(render->getIndex()); goToFlow->setFocus(Qt::OtherFocusReason); } }