summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/CustomAnimationPane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationPane.cxx')
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index 8ebd2f1ee3e6..c0c5cf887d2c 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -2116,6 +2116,8 @@ IMPL_LINK_NOARG(CustomAnimationPane, AnimationSelectHdl, ListBox&, void)
if ( !pPreset && ( ePathKind == PathKind::NONE ) )
return;
+ VclPtr<vcl::Window> xSaveFocusId = Window::SaveFocus();
+
EffectSequence::iterator aIter( maListSelection.begin() );
const EffectSequence::iterator aEnd( maListSelection.end() );
@@ -2140,6 +2142,7 @@ IMPL_LINK_NOARG(CustomAnimationPane, AnimationSelectHdl, ListBox&, void)
createPath( ePathKind, aTargets, 0.0 );
updateMotionPathTags();
+ Window::EndSaveFocus(xSaveFocusId);
return;
}
@@ -2160,6 +2163,7 @@ IMPL_LINK_NOARG(CustomAnimationPane, AnimationSelectHdl, ListBox&, void)
}
onPreview(false);
+ Window::EndSaveFocus(xSaveFocusId);
}
}