summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-31 20:40:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-01 09:36:45 +0100
commit4c11673e78813dedb2089dd7e1a76a12da26cc8b (patch)
treebd55e7394c8775aab8d6fcfab127ae6425d72982 /sd/source
parent8a1825bf896c8004a10275d93a626e472a52966c (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx2
1 files changed, 2 insertions, 0 deletions
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);