Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix switching single page step
Browse files Browse the repository at this point in the history
octaeder committed Jan 19, 2025
1 parent ed2ce22 commit e472e54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pdfviewer/PDFDocument.cpp
Original file line number Diff line number Diff line change
@@ -2265,7 +2265,8 @@ void PDFWidget::setSinglePageStep(bool step)
return;
singlePageStep = step;
getScrollArea()->goToPage(realPageIndex);
delayedUpdate();
reloadPage();
getScrollArea()->updateScrollBars();
}

void PDFWidget::goFirst()

0 comments on commit e472e54

Please sign in to comment.