svx/source/tbxctrls/tbcontrl.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 13a5f2693f4ade09e6e6d16186c04f18e30197e3 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Oct 9 13:44:38 2018 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Oct 9 17:57:15 2018 +0200 use freeze/thaw Change-Id: I14f808864ec99258731e12879acffdd130ab0613 Reviewed-on: https://gerrit.libreoffice.org/61586 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index a9a78125cddd..98f491711a95 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1437,8 +1437,10 @@ ColorWindow::ColorWindow(std::shared_ptr<PaletteManager> const & rPaletteManager mxPaletteListBox->connect_changed(LINK(this, ColorWindow, SelectPaletteHdl)); std::vector<OUString> aPaletteList = mxPaletteManager->GetPaletteList(); + mxPaletteListBox->freeze(); for (std::vector<OUString>::iterator it = aPaletteList.begin(); it != aPaletteList.end(); ++it) mxPaletteListBox->append_text(*it); + mxPaletteListBox->thaw(); OUString aPaletteName( officecfg::Office::Common::UserColors::PaletteName::get() ); mxPaletteListBox->set_active_text(aPaletteName); const int nSelectedEntry(mxPaletteListBox->get_active()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits