GoTo flow: Sync slide and page index in quick navigation mode

This commit is contained in:
Felix Kauselmann 2021-07-06 11:18:31 +02:00
parent 40d4d224be
commit abcb4b1f26

View File

@ -33,6 +33,7 @@ GoToFlowToolBar::GoToFlowToolBar(QWidget *parent)
"}");
connect(slider, &QSlider::valueChanged, this, [&](int v) { emit(setCenter(v)); });
connect(slider, &QSlider::valueChanged, this, [=](int v) { emit(setPage(v)); });
pageHint = new QLabel("<b>" + tr("Page : ") + "</b>", this);
v = new QIntValidator(this);