[Libreoffice-commits] core.git: sd/source
Caolán McNamara
caolanm at redhat.com
Tue Oct 21 06:35:57 PDT 2014
sd/source/ui/animations/SlideTransitionPane.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 92360e7413daf35d6b3acf2e77cf3c6063c5f11f
Author: Caolán McNamara <caolanm at 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 <steve_y at 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();
}
}
More information about the Libreoffice-commits
mailing list