[Libreoffice-commits] core.git: fpicker/source

Caolán McNamara caolanm at redhat.com
Thu May 26 08:40:58 UTC 2016


 fpicker/source/office/RemoteFilesDialog.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7d397201060ba71a188b5ef9853984a635e70531
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 26 09:40:08 2016 +0100

    Resolves: tdf#98436 crash trying To create remote folder before connected
    
    Change-Id: I953167c9b78f9c9eba560390ecef7ccd8e5f1f68

diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index c07980d..9e6d9dc 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 );
     }
 


More information about the Libreoffice-commits mailing list