From fb763b5236c6859290902e69dc31a4793e63146c Mon Sep 17 00:00:00 2001 From: Pranam Lashkari Date: Sat, 22 Aug 2020 18:48:34 +0530 Subject: LOK: send status of the sidebar sidebar button did not show status initially similarly view->sidebar did not show checked/unchecked initially and same problem can be seen in notebookbar Change-Id: Ie5fdf298d343435514954efaaebfdc628d4a90fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101182 Tested-by: Jenkins CollaboraOffice Reviewed-by: Andras Timar Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101509 Tested-by: Jenkins Reviewed-by: Pranam Lashkari --- sfx2/source/control/unoctitm.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index c9cb75dacbf9..c3c48b5305c4 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1017,7 +1017,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra aEvent.FeatureURL.Path == "AlignDown" || aEvent.FeatureURL.Path == "TraceChangeMode" || aEvent.FeatureURL.Path == "FormatPaintbrush" || - aEvent.FeatureURL.Path == "FreezePanes") + aEvent.FeatureURL.Path == "FreezePanes" || + aEvent.FeatureURL.Path == "Sidebar") { bool bTemp = false; aEvent.State >>= bTemp; -- cgit