[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 22 14:50:03 UTC 2018
sfx2/source/sidebar/SidebarController.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 542a9a340972da7739c33465620ffe48da8745dd
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Oct 22 14:37:14 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Oct 22 16:49:41 2018 +0200
cannot interact with chart sidebar as the previous deck is still active
Change-Id: I7972ef73b8c11ae78569fa1c7dc0a244ebba3f30
Reviewed-on: https://gerrit.libreoffice.org/62181
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 9765f16540bd..198f136922c4 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -752,6 +752,8 @@ void SidebarController::SwitchToDeck (
if (bForceNewPanels && !bForceNewDeck) // already forced if bForceNewDeck
CreatePanels(rDeckDescriptor.msId, rContext);
+ if (mpCurrentDeck && mpCurrentDeck != rDeckDescriptor.mpDeck)
+ mpCurrentDeck->Hide();
mpCurrentDeck.reset(rDeckDescriptor.mpDeck);
if ( ! mpCurrentDeck)
More information about the Libreoffice-commits
mailing list