summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2020-10-28 22:18:11 -0800
committerJim Raykowski <raykowj@gmail.com>2020-10-30 07:56:06 +0100
commit46ecd31445bda45e10d58e937ff468a1a8f17da2 (patch)
tree25d707e3b2072bffc53bfef325b8c40f855bae2e
parentabfaaa92e49c0726cf43c735428487c797603520 (diff)
tdf#106613 Draw: Make sidebar Navigator update after slide rename
Change-Id: I438a06dfd0d19271853bc1efd8098195f6f37ef8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104988 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
-rw-r--r--sd/source/ui/view/drviewsd.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviewsd.cxx b/sd/source/ui/view/drviewsd.cxx
index 2fe6691d64ee..8f6e627029d4 100644
--- a/sd/source/ui/view/drviewsd.cxx
+++ b/sd/source/ui/view/drviewsd.cxx
@@ -62,6 +62,9 @@ void DrawViewShell::ExecNavigatorWin( SfxRequest& rReq )
if( pNavWin )
pNavWin->InitTreeLB( GetDoc() );
}
+ SfxBindings& rBindings = GetViewFrame()->GetBindings();
+ rBindings.Invalidate(SID_NAVIGATOR_STATE, true);
+ rBindings.Invalidate(SID_NAVIGATOR_PAGENAME, true);
}
break;