sd/source/ui/animations/CustomAnimationList.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit b8b4dd7e909a46fe1777a64124d5fa0187a1ad70 Author: Caolán McNamara <[email protected]> AuthorDate: Mon Jan 31 20:40:52 2022 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Feb 1 11:14:04 2022 +0100 tdf#147032 unselect anything set_cursor selected as its side-effect Change-Id: I723bbd82fc01f644de3bfb2a80b4640cec0cfbca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129250 Tested-by: Jenkins Reviewed-by: Michael Stahl <[email protected]> diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 3c67edc5c831..4f366979e20e 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -815,6 +815,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);
