Kaydet (Commit) 7645bd0a authored tarafından Jim Raykowski's avatar Jim Raykowski

tdf#120061 Enable Navigator multiple headings selection

...on document reopening when Navigator window was previously in
Headings/Outline Content Navigation View mode

Change-Id: I169df15e81c4e9acf24c0e76d7f720af598c5b93
Reviewed-on: https://gerrit.libreoffice.org/60910
Tested-by: Jenkins
Reviewed-by: 's avatarJim Raykowski <raykowj@gmail.com>
üst bc9385c7
......@@ -1241,6 +1241,13 @@ SwNavigationChild::SwNavigationChild( vcl::Window* pParent,
{
pNavi->m_aContentTree->SetRootType(nRootType);
pNavi->m_aContentToolBox->CheckItem(pNavi->m_aContentToolBox->GetItemId("root"));
if (nRootType == ContentTypeId::OUTLINE)
{
pNavi->m_aContentTree->SetSelectionMode(SelectionMode::Multiple);
pNavi->m_aContentTree->SetDragDropMode(DragDropMode::CTRL_MOVE |
DragDropMode::CTRL_COPY |
DragDropMode::ENABLE_TOP);
}
}
pNavi->m_aContentTree->SetOutlineLevel( static_cast< sal_uInt8 >( pNaviConfig->GetOutlineLevel() ) );
pNavi->SetRegionDropMode( pNaviConfig->GetRegionMode() );
......
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