starmath/source/ElementsDockingWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4e8331b77a2dcad2b10d3ca5b788711ea4e83a1b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Dec 7 13:20:03 2022 +0000 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Thu Dec 8 12:20:49 2022 +0000 Resolves: tdf#152411 clear before freeze to let gtk a11y drop reference Change-Id: I2c0f852a0432e7319644b0ea11533b6d153b4ac7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143718 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index aab82cac3f11..a52b5f85ec0f 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -554,8 +554,8 @@ void SmElementsControl::setElementSetId(TranslateId pSetId) void SmElementsControl::addElements(const TranslateId& rCategory) { + mpIconView->clear(); // tdf#152411 clear before freeze to let gtk a11y drop reference mpIconView->freeze(); - mpIconView->clear(); mpIconView->set_item_width(0); maItemDatas.clear();