cui/source/customize/SvxNotebookbarConfigPage.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 300ffc649aaa555bba19a0475d74067c9574fc04 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Nov 25 12:23:10 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Nov 26 14:23:22 2019 +0100 tdf#126043 freeze/thaw around bulk insert Change-Id: I2dd9aedc305a4fe1992fe8c52fee85ade8589a5b Reviewed-on: https://gerrit.libreoffice.org/83674 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits