diff options
author | Aron Budea <aron.budea@collabora.com> | 2017-12-20 12:06:39 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-12-21 12:04:59 +0100 |
commit | 6054c390d136cea5d79b429447e262f61e4a3f19 (patch) | |
tree | cd227ec80a482a0a6871bb3937edfdc7a7df5fe9 | |
parent | 34e317458bffadac94656a2e035e5e7921bb2281 (diff) |
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@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
(cherry picked from commit f2f5ebcee462472b27b610f53abc7f9a6378462b)
Reviewed-on: https://gerrit.libreoffice.org/46884
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 66850a562021..466d45d53cc5 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -306,7 +306,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(); |