sd/source/ui/animations/CustomAnimationList.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4c11673e78813dedb2089dd7e1a76a12da26cc8b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jan 31 20:40:52 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Feb 1 09:36:45 2022 +0100 tdf#147032 unselect anything set_cursor selected as its side-effect Change-Id: I723bbd82fc01f644de3bfb2a80b4640cec0cfbca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129243 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 65d71f661e89..2ae97e5cc5dc 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -814,6 +814,8 @@ void CustomAnimationList::update() } while (mxTreeView->iter_next(*xEntry)); } + // tdf#147032 unselect what previous set_cursor may have caused to get selected as a side-effect + mxTreeView->unselect_all(); for (const auto& rEntry : aNewSelection) mxTreeView->select(*rEntry);