summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-07-09 12:36:35 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-07-16 09:53:37 +0200
commit37928c2a5e7dce68f2027b1a6a47d85f2dc0d533 (patch)
tree420e8a06005e6cfe659d74d165ae16a57309a000 /svtools
parent6f694a6d3b64c9792ef99846b445e38d5be59ee5 (diff)
RemoteFilesDialog: enable OK button when file name isn't empty
Change-Id: Idf84d4d46a72c3fb339e28c1f3923cd2f0f3c12d
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/RemoteFilesDialog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svtools/source/dialogs/RemoteFilesDialog.cxx b/svtools/source/dialogs/RemoteFilesDialog.cxx
index 574acc554f98..069973b642f2 100644
--- a/svtools/source/dialogs/RemoteFilesDialog.cxx
+++ b/svtools/source/dialogs/RemoteFilesDialog.cxx
@@ -505,6 +505,9 @@ FileViewResult RemoteFilesDialog::OpenURL( OUString sURL )
m_pFilter_lb->Enable( true );
m_pName_ed->Enable( true );
m_pContainer->Enable( true );
+
+ if( !m_pName_ed->GetText().isEmpty() )
+ m_pOk_btn->Enable( true );
}
}