svx/source/dialog/srchdlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ad781c82b9682556baeab6d07d98801b70a4dc90
Author: NickWingate <[email protected]>
AuthorDate: Wed Aug 27 13:49:00 2025 +0100
Commit: Szymon Kłos <[email protected]>
CommitDate: Wed Nov 19 08:03:12 2025 +0100
Find Dialog: focus search entry on open
Signed-off-by: NickWingate <[email protected]>
Change-Id: I44b8d36661d6fd290abc9f6b86831188a2aac88d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190288
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Szymon Kłos <[email protected]>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194161
Tested-by: Jenkins
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 73fb1f3a7472..d167b729a514 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -311,6 +311,7 @@ SvxSearchDialog::SvxSearchDialog(weld::Window* pParent,
SfxChildWindow* pChildWi
m_xHelpBtn->hide();
m_xSearchLB->set_entry_text(u""_ustr);
m_xReplaceLB->set_entry_text(u""_ustr);
+ m_xSearchLB->grab_focus();
}
m_aPresentIdle.SetTimeout(50);