sfx2/source/sidebar/SidebarController.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 5de85be43198804573787d4186b156b5931c4a9f Author: Caolán McNamara <[email protected]> AuthorDate: Mon Oct 22 14:37:14 2018 +0100 Commit: Katarina Behrens <[email protected]> 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 <[email protected]> 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) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
