summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-03 15:18:34 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-08-08 12:31:50 +0200
commit6cd3c4c6cc7decd7a63ff891573ace858330b110 (patch)
tree0cfa32f6106fd8d8f9759e5a8c27d881d7c14fc3 /sd
parentc99b55cbcd98ca6c96c901bc7c1129814cfac4ab (diff)
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@ubuntu.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx2
1 files changed, 2 insertions, 0 deletions
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();