Merge pull request #706 from jmartens/patch-1

Fix Auto config missing hostname prompt #704
This commit is contained in:
Dom Rodriguez 2020-05-30 18:28:13 +01:00 committed by GitHub
commit e354d79d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -595,9 +595,7 @@ bool MainWindow::clientArgs(QStringList& args, QString& app)
args << "[" + serverIp + "]:" + QString::number(appConfig().port());
return true;
}
}
if (m_pLineEditHostname->text().isEmpty()) {
} else if (m_pLineEditHostname->text().isEmpty()) {
show();
if (!m_SuppressEmptyServerWarning) {
QMessageBox::warning(this, tr("Hostname is empty"),