summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index caa2741ae324..e5cc4296b74a 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -617,6 +617,7 @@ void SidebarController::CreatePanels(const ::rtl::OUString& rDeckId, const Conte
if (pPanel != nullptr)
{
aNewPanels[nWriteIndex] = pPanel;
+ pPanel->SetExpanded( rPanelContexDescriptor.mbIsInitiallyVisible );
++nWriteIndex;
}
else