sd/source/ui/animations/SlideTransitionPane.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 92360e7413daf35d6b3acf2e77cf3c6063c5f11f Author: Caolán McNamara <caol...@redhat.com> Date: Tue Oct 21 14:33:57 2014 +0100 Resolves: fdo#84417 restore focus window after preview regression due to changes of sd/source/ui/slideshow/slideshow.cxx in cc5518ca61b209408a9d5262bbdcc39efccdd72d commit cc5518ca61b209408a9d5262bbdcc39efccdd72d Author: Steve Yin <stev...@apache.org> Date: Thu Nov 28 12:09:19 2013 +0000 Integrate branch of IAccessible2 Change-Id: I6b399d68c1f3ef32b702135b981100a23760569b diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index d319e9e..8221625 100644 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -847,6 +847,8 @@ void SlideTransitionPane::applyToSelectedPages() { if( ! mbUpdatingControls ) { + Window *pFocusWindow = Application::GetFocusWindow(); + ::sd::slidesorter::SharedPageSelection pSelectedPages( getSelectedPages()); impl::TransitionEffect aEffect = getTransitionEffectFromControls(); if( ! pSelectedPages->empty()) @@ -863,6 +865,9 @@ void SlideTransitionPane::applyToSelectedPages() else stopEffects(); } + + if (pFocusWindow) + pFocusWindow->GrabFocus(); } }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits