From e58ad604df2022450bec0d83d496037c799ae969 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 7 Dec 2022 13:20:03 +0000 Subject: Resolves: tdf#152411 clear before freeze to let gtk a11y drop reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2c0f852a0432e7319644b0ea11533b6d153b4ac7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143780 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- starmath/source/ElementsDockingWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath') 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(); -- cgit