[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - fpicker/source

Caolán McNamara caolanm at redhat.com
Mon May 30 08:31:33 UTC 2016


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

New commits:
commit 358663c3201b5f5d4e31cf719cd4649333903667
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
    (cherry picked from commit 7d397201060ba71a188b5ef9853984a635e70531)
    Reviewed-on: https://gerrit.libreoffice.org/25500
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 035db1d..84f25c8 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -200,6 +200,7 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, WinBits nBits )
 
     m_pFilter_lb->Enable( false );
     m_pName_ed->Enable( false );
+    m_pNewFolder->Enable( false );
 
     if( m_eMode == REMOTEDLG_MODE_OPEN )
     {
@@ -659,6 +660,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();
@@ -670,6 +672,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