[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 22 21:37:23 UTC 2018


 sfx2/source/sidebar/SidebarController.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5de85be43198804573787d4186b156b5931c4a9f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Oct 22 14:37:14 2018 +0100
Commit:     Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Mon Oct 22 23:37:03 2018 +0200

    cannot interact with chart sidebar as the previous deck is still active
    
    Change-Id: I7972ef73b8c11ae78569fa1c7dc0a244ebba3f30
    Reviewed-on: https://gerrit.libreoffice.org/62182
    Tested-by: Jenkins
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 4f2b3e900d6a..14b40e58a6f8 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -732,6 +732,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