summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-30 17:45:26 +0100
committerMichael Stahl <michael.stahl@cib.de>2020-05-05 11:05:50 +0200
commit60992be6508607ddd8103d9f016303a7a92d3363 (patch)
treeaa1234a132d374bd3bca8641b8c14afb09ea2a15
parent8f7832d467c646cd6cabfcb92f773072461a7cec (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> (cherry picked from commit b065d68266a8b897bc2dab26135577d1d0e9a7ff) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93370 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Michael Stahl <michael.stahl@cib.de>
-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()