diff options
author | Katarina Behrens <bubli@bubli.org> | 2021-11-12 14:32:34 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-17 13:27:14 +0100 |
commit | 41b679f73e2001cd2840dd1256911e0b79bacaf8 (patch) | |
tree | 4824b18c516d22bc97ec25ea16dd09bb255304f1 /sd | |
parent | c6fb8ffc6a35d94002a2c5b5b36c228c161cde85 (diff) |
tdf#135033: Make undo of adding and editing animations possible
weird this somehow sneaked out when converting custom animation
pane to sidebar when undoing other operations (delete etc.) stayed
in place
Change-Id: I6287682839d0e0401cc60bf82257d86765f3a858
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125110
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <bubli@bubli.org>
(cherry picked from commit 71a186aedc6060bb4fb834c847f74c657d700f1e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125357
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 4585fd335bdc..d17f1460b91f 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -1832,6 +1832,7 @@ void CustomAnimationPane::onAdd() updateMotionPathTags(); } + addUndo(); mrBase.GetDocShell()->SetModified(); updateControls(); @@ -2133,6 +2134,7 @@ IMPL_LINK_NOARG(CustomAnimationPane, SelectionHandler, Timer*, void) pEffectSequence->replace( pEffect, pDescriptor, fDuration ); } + addUndo(); onPreview(false); } |