diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-21 14:33:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-21 14:35:27 +0100 |
commit | 92360e7413daf35d6b3acf2e77cf3c6063c5f11f (patch) | |
tree | a2ce3d730e43870825a3da628f3e77c30e882a79 /sd | |
parent | 7cfb805a82e91a6166607253f9bdbffc06579bb1 (diff) |
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@apache.org>
Date: Thu Nov 28 12:09:19 2013 +0000
Integrate branch of IAccessible2
Change-Id: I6b399d68c1f3ef32b702135b981100a23760569b
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/SlideTransitionPane.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index d319e9ee4bc5..8221625f765a 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(); } } |