sd/source/ui/animations/CustomAnimationList.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a761a31d019732ee94386fb643b6486d029695c5
Author:     Caolán McNamara <[email protected]>
AuthorDate: Mon Jan 31 20:40:52 2022 +0000
Commit:     Xisco Fauli <[email protected]>
CommitDate: Mon Feb 7 17:05:09 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 <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129249
    Reviewed-by: Xisco Fauli <[email protected]>

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);
 

Reply via email to