summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir@allotropia.de>2024-05-10 18:38:02 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-05-10 23:52:21 +0200
commit5c64e56aa858cf6aa6c39e2ff58bae2000f837f7 (patch)
treed9713f5c3d066910f28cc90e637623a51c6dff53
parentdecde4da4f4ab3a9bdc565ebc1e11c145ec4295a (diff)
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
-rw-r--r--sd/source/ui/view/NotesPanelView.cxx1
1 files changed, 1 insertions, 0 deletions
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;