diff options
author | Katarina Behrens <bubli@bubli.org> | 2021-11-12 14:32:34 +0100 |
---|---|---|
committer | Katarina Behrens <bubli@bubli.org> | 2021-11-16 11:09:42 +0100 |
commit | 71a186aedc6060bb4fb834c847f74c657d700f1e (patch) | |
tree | e5b5f255065db41a173650810275fd1e92f4be54 /sd | |
parent | 1430d7670070606de41bd954835e55a71d88875b (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>
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 b604824f694f..3fe62f843f15 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -1833,6 +1833,7 @@ void CustomAnimationPane::onAdd() updateMotionPathTags(); } + addUndo(); mrBase.GetDocShell()->SetModified(); updateControls(); @@ -2134,6 +2135,7 @@ IMPL_LINK_NOARG(CustomAnimationPane, SelectionHandler, Timer*, void) pEffectSequence->replace( pEffect, pDescriptor, fDuration ); } + addUndo(); onPreview(false); } |