summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-03-09 16:34:42 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2023-03-10 10:48:44 +0000
commit76fcddcd955ba26655dcfc0d6261f4c00be375fe (patch)
tree943b28b900809bef71ccb78b3e5e56c79380f7e3 /starmath
parent1255e9b3c0ed82014a8c0832c40e4c7d8f9c5756 (diff)
Revert "Resolves: tdf#152411 clear before freeze to let gtk a11y ...
... drop reference" It's no longer needed, since the original problem is solved differently with Change-Id Id0c241d68ec4fbf933312008f7d0ee86bd3eab0c ("tdf#140659 gtk a11y: Don't unset model when freezing icon view") in place. This reverts commit 4e8331b77a2dcad2b10d3ca5b788711ea4e83a1b. Change-Id: I5c94a1c610a807a09ab62577477135cc14dbcfa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148558 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'starmath')
-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 1ea324dc7fe7..16a22d27aa00 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();