diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index fb24a2512815..2fabadc2a699 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -89,7 +89,7 @@ class FileViewContainer : public vcl::Window if( !m_pFileView || !m_pTreeView ) return; - if( !bReverse && m_nCurrentFocus < 4 ) + if( !bReverse && m_nCurrentFocus < 3 ) { m_pFocusWidgets[++m_nCurrentFocus]->SetFakeFocus( true ); m_pFocusWidgets[m_nCurrentFocus]->GrabFocus();