diff options
author | Aron Budea <aron.budea@collabora.com> | 2017-12-20 12:06:39 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-01-17 08:43:54 +0100 |
commit | 8945ff6b1b53ab8728c3df4b673df49f2e28d4b2 (patch) | |
tree | f9e5ac05318eaf622d6d15d1b00c45884e01d9ca | |
parent | 9d772cdaa8ff1a18b9acac32a0f53b1419211922 (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/46900
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
(cherry picked from commit a7b7ccb71384d2fdb5a7f076129d89ef78636d67)
-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 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(); |