summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-30 17:45:26 +0100
committerAndras Timar <andras.timar@collabora.com>2020-05-06 22:26:17 +0200
commit3aeff6b6382dcc889dcb10d02bc02298800185cb (patch)
treecf42457d09abfe6cefffe9ae187d7a0f2a1dfc18 /fpicker
parent669d9c56bca10395380cb60aaee6af37681fcf3c (diff)
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 <fitojb@ubuntu.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx2
1 files changed, 2 insertions, 0 deletions
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()