summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-03 15:18:34 +0100
committerAndras Timar <andras.timar@collabora.com>2021-08-16 10:07:51 +0200
commit67ed8a4206d07f7a5a812dad74243cf6b32de770 (patch)
tree48ed75b2f311182855a398d9a4f73b6c7f8b0580 /sd
parent0ba4c18de0de6a68325a2fbe7992b1395138dcb6 (diff)
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@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 1144e120bf73..e1a705846478 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();