Commit 528f90f7 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Do not force to add port, a missing port means default

parent dc27daee
......@@ -325,11 +325,6 @@ std::pair<bool, QString> SSHManagerTreeWidget::checkFields() const
errorString += li + i18n("Missing Name") + il;
}
if (ui->port->text().isEmpty()) {
error = true;
errorString += li + i18n("Missing Port") + il;
}
if (ui->useSshConfig->checkState() == Qt::Checked) {
if (ui->sshkey->text().count() || ui->username->text().count()) {
error = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment