[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sfx2/source
Aron Budea
aron.budea at collabora.com
Thu Dec 21 11:15:28 UTC 2017
sfx2/source/sidebar/SidebarController.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a7b7ccb71384d2fdb5a7f076129d89ef78636d67
Author: Aron Budea <aron.budea at collabora.com>
Date: Wed Dec 20 12:06:39 2017 +0100
tdf#104229: properly switch to def sidebar deck on status change
regression since a64999511ae654131d997eec9a3d78478cfc1c75
Change-Id: Id1d0a76f89c41e88511f670f1aac4b866e4c15c6
Reviewed-on: https://gerrit.libreoffice.org/46840
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
(cherry picked from commit f2f5ebcee462472b27b610f53abc7f9a6378462b)
Reviewed-on: https://gerrit.libreoffice.org/46900
Reviewed-by: Aron Budea <aron.budea at collabora.com>
Tested-by: Aron Budea <aron.budea at collabora.com>
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 0195c496fccc..b05de0deed01 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -302,7 +302,7 @@ void SAL_CALL SidebarController::statusChanged (const css::frame::FeatureStateEv
// Force the current deck to update its panel list.
if ( ! mbIsDocumentReadOnly)
- msCurrentDeckId = gsDefaultDeckId;
+ SwitchToDefaultDeck();
mnRequestedForceFlags |= SwitchFlag_ForceSwitch;
maAsynchronousDeckSwitch.CancelRequest();
More information about the Libreoffice-commits
mailing list