summaryrefslogtreecommitdiff
path: root/fpicker/source/office/iodlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-30 17:45:26 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-05-03 09:23:54 +0200
commitb065d68266a8b897bc2dab26135577d1d0e9a7ff (patch)
tree9fe195b9e48d2d643bcb5e5ec83ab2b863553eee /fpicker/source/office/iodlg.cxx
parenta070dfba618ceda6d3b17b27f6fa233e4cedb3e2 (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/source/office/iodlg.cxx')
-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()