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

View File

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