cui/source/dialogs/cuifmsearch.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 23d15485d5aa49cf00fac048b171b3c975b72121
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun May 4 09:58:29 2025 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Tue May 6 10:43:32 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

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'

Reply via email to