diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-02-21 17:00:23 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2015-02-26 12:56:02 +0000 |
commit | f26528f0a7b706e7e2bd2d68eaa071ba45a8a1f5 (patch) | |
tree | 8d8db5313a8089d2104ef97d233d135bc1e38e4a /fpicker | |
parent | 871214ff025440cea8e0b9cd3be268f08b6624ad (diff) |
fdo#83371 : cannot navigate to list Files in LibreOffice dialogs
Change-Id: I64d95abb60d2ad635c0b67c2efef9567f526b30f
Reviewed-on: https://gerrit.libreoffice.org/14573
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 2e82a40a6026..0111f0e81719 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -398,6 +398,11 @@ public: placesNewSize.Height() = aSize.Height(); _pImp->_pPlaces->SetSizePixel( placesNewSize ); } + + virtual void GetFocus() SAL_OVERRIDE + { + _pFileView->GrabFocus(); + } }; SvtFileDialog::~SvtFileDialog() @@ -526,6 +531,7 @@ void SvtFileDialog::Init_Impl _pContainer->set_width_request(aSize.Width()); _pContainer->set_hexpand(true); _pContainer->set_vexpand(true); + _pContainer->SetStyle( _pContainer->GetStyle() | WB_TABSTOP ); _pFileView = new SvtFileView( _pContainer, WB_BORDER, FILEDLG_TYPE_PATHDLG == _pImp->_eDlgType, |