diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-26 09:40:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-26 09:40:28 +0100 |
commit | 7d397201060ba71a188b5ef9853984a635e70531 (patch) | |
tree | 0cceeb69d678a14a574898a7ccd5390c6311d071 /fpicker | |
parent | 5b16390e5eacb87ff455c5a9f78b7639b0098d74 (diff) |
Resolves: tdf#98436 crash trying To create remote folder before connected
Change-Id: I953167c9b78f9c9eba560390ecef7ccd8e5f1f68
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index c07980d4f0d0..9e6d9dcc955c 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -202,6 +202,7 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, PickerFlags nBits ) m_pFilter_lb->Enable( false ); m_pName_ed->Enable( false ); + m_pNewFolder->Enable( false ); if( m_eMode == REMOTEDLG_MODE_OPEN ) { @@ -666,6 +667,7 @@ void RemoteFilesDialog::EnableControls() m_pFilter_lb->Enable(); m_pName_ed->Enable(); m_pContainer->Enable(); + m_pNewFolder->Enable(); if( !m_pName_ed->GetText().isEmpty() ) m_pOk_btn->Enable(); @@ -677,6 +679,7 @@ void RemoteFilesDialog::EnableControls() m_pFilter_lb->Enable( false ); m_pName_ed->Enable( false ); m_pContainer->Enable( false ); + m_pNewFolder->Enable( false ); m_pOk_btn->Enable( false ); } |