diff options
Diffstat (limited to 'cui/source/customize/SvxNotebookbarConfigPage.cxx')
-rw-r--r-- | cui/source/customize/SvxNotebookbarConfigPage.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/customize/SvxNotebookbarConfigPage.cxx b/cui/source/customize/SvxNotebookbarConfigPage.cxx index d963c7eadc55..76c831cffab8 100644 --- a/cui/source/customize/SvxNotebookbarConfigPage.cxx +++ b/cui/source/customize/SvxNotebookbarConfigPage.cxx @@ -474,6 +474,9 @@ void SvxNotebookbarConfigPage::SelectElement() aEntries = aTempEntries; aTempEntries.clear(); + weld::TreeView& rTreeView = m_xContentsListBox->get_widget(); + rTreeView.freeze(); + sal_Int64 nId = 0; for (std::size_t nIdx = 0; nIdx < aEntries.size(); nIdx++) { @@ -494,6 +497,9 @@ void SvxNotebookbarConfigPage::SelectElement() aEntries[nIdx].sActionName, nIdx, 1); ++nId; } + + rTreeView.thaw(); + aEntries.clear(); if (pDoc != nullptr) |