summaryrefslogtreecommitdiff
path: root/starmath/source/ElementsDockingWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/ElementsDockingWindow.cxx')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 16a22d27aa00..1ea324dc7fe7 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -574,8 +574,8 @@ void SmElementsControl::setElementSetIndex(int nSetIndex)
void SmElementsControl::addElements(int nCategory)
{
+ mpIconView->clear(); // tdf#152411 clear before freeze to let gtk a11y drop reference
mpIconView->freeze();
- mpIconView->clear();
mpIconView->set_item_width(0);
maItemDatas.clear();