summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-12-07 13:20:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-12-07 14:49:08 +0000
commite58ad604df2022450bec0d83d496037c799ae969 (patch)
tree3fb8fed1e5a965c5e5814b3538c3a1fdbc61989e
parent8e3258f7d62ec154f2d80af2f39028a4c40fa12f (diff)
Resolves: tdf#152411 clear before freeze to let gtk a11y drop reference
Change-Id: I2c0f852a0432e7319644b0ea11533b6d153b4ac7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143780 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-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();