[Libreoffice-commits] core.git: fpicker/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 30 18:13:14 UTC 2020


 fpicker/source/office/iodlg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 23ddc3811d4d1890e4024f4e0f6bb5129a694fdc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 30 17:45:26 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 30 20:12:36 2020 +0200

    Resolves: tdf#130505 give default focus to the file name field
    
    Change-Id: I2c78fa95e626029a4cfc7f8e2faf03d4a5d2dee8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93228
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 89564fca2efd..8a51fc97b518 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -466,6 +466,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()


More information about the Libreoffice-commits mailing list