mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -04:00
Viewer: Always start GoTo flow on correct page
This commit is contained in:
parent
df32cf01fb
commit
40d4d224be
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user