[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sd/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 8 10:31:40 UTC 2021


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

New commits:
commit 9a3acd91284d40714fdf08868e34e64de6e8ad2b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 3 15:18:34 2021 +0100
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Sun Aug 8 12:31:06 2021 +0200

    Resolves: tdf#137637 keep user selection during initialization
    
    Change-Id: Ibef83d132ce951393a996aae94b8cdee51da1a64
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119866
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index 678dd2a14101..3f0725483eda 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -198,6 +198,8 @@ void CustomAnimationPane::initialize()
         OSL_FAIL( "sd::CustomAnimationPane::CustomAnimationPane(), Exception caught!" );
     }
 
+    // tdf#137637 keep user selection during initialization
+    ScopeLockGuard aGuard(maSelectionLock);
     // get current page and update custom animation list
     onChangeCurrentPage();
 


More information about the Libreoffice-commits mailing list