cui/source/dialogs/cuifmsearch.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit e098340ca3f8f2cba5c65e3d141dd6db5ad92472 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun May 4 09:58:29 2025 +0200 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue May 6 20:55:01 2025 +0200 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 <serval2...@yahoo.fr> Tested-by: Jenkins (cherry picked from commit 23d15485d5aa49cf00fac048b171b3c975b72121) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184981 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index 89eee514e193..f90d51858e94 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -296,6 +296,8 @@ IMPL_LINK_NOARG(FmSearchDialog, OnClickedSearchAgain, weld::Button&, void) else m_pSearchEngine->SearchNextSpecial(m_prbSearchForNull->get_active()); } + // tdf#155308: explicitly keep the focus by default for non gtk renderings + m_pbSearchAgain->grab_focus(); } else { // the button has the function 'cancel'