fpicker/source/office/RemoteFilesDialog.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 06b8f344d50d14315c4fcdf2433da8f6d71baca3 Author: Szymon KÅos <eszka...@gmail.com> Date: Sat Oct 3 21:43:52 2015 +0200 Focus for file list after opening folder Change-Id: Ibac322b873315fd8a0ec63c930f4c76562a5e704 diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index d7b32f4..7ee410e 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -576,6 +576,8 @@ FileViewResult RemoteFilesDialog::OpenURL( OUString const & sURL ) if( m_eMode != REMOTEDLG_MODE_SAVE ) m_pName_ed->SetText( "" ); + + m_pFileView->GrabFocus(); } else { commit 544a360bbd81d0d6d68cf29e0eeb1ddeaeaff350 Author: Szymon KÅos <eszka...@gmail.com> Date: Sat Oct 3 21:36:42 2015 +0200 Focus for file name field after using it to open folder Change-Id: Ic3ae0c899c5feea659d22100f98dbeca4df217eb diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 83cd52c..d7b32f4 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -1142,6 +1142,9 @@ IMPL_LINK_NOARG_TYPED ( RemoteFilesDialog, OkHdl, Button*, void ) OpenURL( sPathNoExt ); m_pName_ed->SetText( "" ); + if( !bSelected ) + m_pName_ed->GrabFocus(); + return; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits