From 3aeff6b6382dcc889dcb10d02bc02298800185cb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 30 Apr 2020 17:45:26 +0100 Subject: Resolves: tdf#130505 give default focus to the file name field Change-Id: I2c78fa95e626029a4cfc7f8e2faf03d4a5d2dee8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93136 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos --- fpicker/source/office/iodlg.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fpicker') diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index db90c2f7f0f5..0e2c29e3f22c 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -467,6 +467,8 @@ SvtFileDialog::SvtFileDialog(weld::Window* pParent, PickerFlags nStyle) m_xDialog->connect_size_allocate(LINK(this, SvtFileDialog, SizeAllocHdl)); SizeAllocHdl(Size()); + + m_xImpl->m_xEdFileName->grab_focus(); } SvtFileDialog::~SvtFileDialog() -- cgit v1.2.3