Kaydet (Commit) 542a9a34 authored tarafından Caolán McNamara's avatar Caolán McNamara

cannot interact with chart sidebar as the previous deck is still active

Change-Id: I7972ef73b8c11ae78569fa1c7dc0a244ebba3f30
Reviewed-on: https://gerrit.libreoffice.org/62181Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 0ddb1e48
...@@ -752,6 +752,8 @@ void SidebarController::SwitchToDeck ( ...@@ -752,6 +752,8 @@ void SidebarController::SwitchToDeck (
if (bForceNewPanels && !bForceNewDeck) // already forced if bForceNewDeck if (bForceNewPanels && !bForceNewDeck) // already forced if bForceNewDeck
CreatePanels(rDeckDescriptor.msId, rContext); CreatePanels(rDeckDescriptor.msId, rContext);
if (mpCurrentDeck && mpCurrentDeck != rDeckDescriptor.mpDeck)
mpCurrentDeck->Hide();
mpCurrentDeck.reset(rDeckDescriptor.mpDeck); mpCurrentDeck.reset(rDeckDescriptor.mpDeck);
if ( ! mpCurrentDeck) if ( ! mpCurrentDeck)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment