sd/source/ui/view/NotesPanelView.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 5c64e56aa858cf6aa6c39e2ff58bae2000f837f7 Author: Sarper Akdemir <sarper.akde...@allotropia.de> AuthorDate: Fri May 10 18:38:02 2024 +0200 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Fri May 10 23:52:21 2024 +0200 tdf#33603: sd: notes pane: force proper flush on page change After clearing the notes pane outliner and filling with then new content, if the new content didn't overfill the previous' area there was a residue from the last content visible. Make sure it is flushed by triggering onResize() on page change. Which also fixes the notespane sometimes keeping the scrollbar & scrollarea from the previous content. Change-Id: Ibbcb0f4f316bd283e5e65bb2ebd9cf17a3b38c0e diff --git a/sd/source/ui/view/NotesPanelView.cxx b/sd/source/ui/view/NotesPanelView.cxx index a2ae58e48331..3a4d4df4b0ac 100644 --- a/sd/source/ui/view/NotesPanelView.cxx +++ b/sd/source/ui/view/NotesPanelView.cxx @@ -286,6 +286,7 @@ IMPL_LINK(NotesPanelView, EventMultiplexerListener, tools::EventMultiplexerEvent case EventMultiplexerEventId::MainViewRemoved: case EventMultiplexerEventId::MainViewAdded: FillOutliner(); + onResize(); break; default: break;