Skip to content

Commit

Permalink
fix pages/grid after switching single page step (#3957)
Browse files Browse the repository at this point in the history
* fix switching single page step

* Update CHANGELOG.md
  • Loading branch information
octaeder authored Jan 20, 2025
1 parent ed2ce22 commit 3ad4ab1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pdfviewer/PDFDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,8 @@ void PDFWidget::setSinglePageStep(bool step)
return;
singlePageStep = step;
getScrollArea()->goToPage(realPageIndex);
delayedUpdate();
reloadPage();
getScrollArea()->updateScrollBars();
}

void PDFWidget::goFirst()
Expand Down
1 change: 1 addition & 0 deletions utilities/manual/source/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- fix pdf-viewer's scrollbar with Fit to Width/Window and changing Continuous mode [#3928](https://github.com/texstudio-org/texstudio/pull/3928)
- fix pdf-viewer's Custom Grid dialog not preset with current Grid settings in Continuous mode [#3929](https://github.com/texstudio-org/texstudio/pull/3929)
- fix pfd-viewer's page display in non continuous mode [3952](https://github.com/texstudio-org/texstudio/pull/3952)
- fix pdf-viewer has a small issue when activating single page step [3957](https://github.com/texstudio-org/texstudio/pull/3957)
- add maximize button to Packages Help (Texdoc) dialog [#3911](https://github.com/texstudio-org/texstudio/pull/3911)
- fix option 'all packages' no longer checked in Packages Help with no tex documents opened [#3917](https://github.com/texstudio-org/texstudio/pull/3917)
- when context menu of a package name is used to open the Packages Help dialog then preset search filter with the name [#3918](https://github.com/texstudio-org/texstudio/pull/3918)
Expand Down

0 comments on commit 3ad4ab1

Please sign in to comment.