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>
This commit is contained in:
parent
8e3258f7d6
commit
e58ad604df
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue