summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2014-12-30 19:12:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-01-05 09:58:42 +0000
commit68e0fb7bc4d56facc478a8cfb912e8e04d239e76 (patch)
tree3601f77a6f75403aec83ce727fe1b35895e48c9c
parente224c9cb929cd744674b5d4d265cfb4680c82a2b (diff)
fdo#83371 : cannot navigate to list Files in LibreOffice dialogs
Change-Id: Ice5315136e25ece6a65c6136f0703825c426cf20 Reviewed-on: https://gerrit.libreoffice.org/13704 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--fpicker/source/office/iodlg.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 06ede44025f1..5e08e1eedde0 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -395,6 +395,11 @@ public:
placesNewSize.Height() = aSize.Height();
_pImp->_pPlaces->SetSizePixel( placesNewSize );
}
+
+ virtual void GetFocus() SAL_OVERRIDE
+ {
+ _pFileView->GrabFocus();
+ }
};
SvtFileDialog::~SvtFileDialog()
@@ -523,6 +528,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,