Kaydet (Commit) 92360e74 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: fdo#84417 restore focus window after preview

regression due to changes of sd/source/ui/slideshow/slideshow.cxx
in cc5518ca

commit cc5518ca
Author: Steve Yin <steve_y@apache.org>
Date:   Thu Nov 28 12:09:19 2013 +0000
    Integrate branch of IAccessible2

Change-Id: I6b399d68c1f3ef32b702135b981100a23760569b
üst 7cfb805a
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment