Skip to content

Commit 59ea743

Browse files
serval2412timar
authored andcommitted
tdf#155308: explicitly keep the focus by default for non gtk renderings
Change-Id: I95acbbba1c5322f0b965108d092386ccc6932a4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184938 Reviewed-by: Julien Nabet <[email protected]> Tested-by: Jenkins (cherry picked from commit 23d1548) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184981 Reviewed-by: Caolán McNamara <[email protected]>
1 parent b19a8e2 commit 59ea743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cui/source/dialogs/cuifmsearch.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ IMPL_LINK_NOARG(FmSearchDialog, OnClickedSearchAgain, weld::Button&, void)
296296
else
297297
m_pSearchEngine->SearchNextSpecial(m_prbSearchForNull->get_active());
298298
}
299+
// tdf#155308: explicitly keep the focus by default for non gtk renderings
300+
m_pbSearchAgain->grab_focus();
299301
}
300302
else
301303
{ // the button has the function 'cancel'

0 commit comments

Comments
 (0)