Kaydet (Commit) 77e2aba5 authored tarafından Szymon Kłos's avatar Szymon Kłos

Grab fous from child in spell dialog

Change-Id: I8c21623f7148ab2c05fe3d4198cf12231600f88d
Reviewed-on: https://gerrit.libreoffice.org/67077
Tested-by: Jenkins
Reviewed-by: 's avatarSzymon Kłos <szymon.klos@collabora.com>
üst 22aa6508
......@@ -410,9 +410,10 @@ The code below would only be part of the solution.
{
LockFocusNotification( true );
OUString sInfo( SwResId( STR_SPELLING_COMPLETED ) );
vcl::Window* pThisWindow = GetWindow();
// #i84610#
std::unique_ptr<weld::MessageDialog> xBox(
Application::CreateMessageDialog( GetWindow()->GetFrameWeld(),
Application::CreateMessageDialog( pThisWindow->GetFrameWeld(),
VclMessageType::Info,
VclButtonsType::Ok,
sInfo ) );
......@@ -420,6 +421,8 @@ The code below would only be part of the solution.
LockFocusNotification( false );
// take care that the now valid selection is stored
LoseFocus();
if( pThisWindow )
pThisWindow->GrabFocus();
}
}
return aRet;
......
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