Kaydet (Commit) ce2e94a9 authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski

tdf#99537 set expand for re-used sidebar panels

When re-using a panel, reset the expand state from the stored
state in the PanelContexDescriptor.

Change-Id: I00851982bbd36cacdc57459bb6e5be9fcc719e81
Reviewed-on: https://gerrit.libreoffice.org/43466Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarYousuf Philips <philipz85@hotmail.com>
Tested-by: 's avatarYousuf Philips <philipz85@hotmail.com>
Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
üst a05bb7bf
......@@ -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
......
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