[Libreoffice-commits] core.git: sd/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 3 15:40:49 UTC 2021


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

New commits:
commit fcc0e6983f2e736022ecf22726cc34e50bd53f24
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 3 15:18:34 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 3 17:40:17 2021 +0200

    Resolves: tdf#137637 keep user selection during initialization
    
    Change-Id: Ibef83d132ce951393a996aae94b8cdee51da1a64
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119940
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.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