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

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


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

New commits:
commit 6cd3c4c6cc7decd7a63ff891573ace858330b110
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:50 2021 +0200

    Resolves: tdf#137637 keep user selection during initialization
    
    Change-Id: Ibef83d132ce951393a996aae94b8cdee51da1a64
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119865
    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 074ff05d10f4..4585fd335bdc 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -203,6 +203,8 @@ void CustomAnimationPane::initialize()
         TOOLS_WARN_EXCEPTION( "sd", "sd::CustomAnimationPane::CustomAnimationPane()" );
     }
 
+    // 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