From 1d5f0716bf233bd468b8f271c2f45597dfc63bd2 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Fri, 21 Aug 2015 11:47:52 +0200 Subject: focus for the file list after opening folder using a tree Change-Id: I7cf75e3fb734b4bf0be9135c200130b8e86bf54f --- fpicker/source/office/RemoteFilesDialog.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fpicker') diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 1b2ec72ddba7..b29bd2b4ddc8 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -975,7 +975,10 @@ IMPL_LINK ( RemoteFilesDialog, TreeSelectHdl, FolderTree *, pBox ) OUString* sURL = static_cast< OUString* >( pBox->GetHdlEntry()->GetUserData() ); if( sURL ) + { OpenURL( *sURL ); + m_pFileView->GrabFocus(); + } return 1; } -- cgit