Fix Auto config missing hostname prompt #704

I think this might fix the prompt for a missing hostname when auto config is checked
This commit is contained in:
Jonathan Martens 2020-05-29 10:11:55 +02:00 committed by GitHub
parent dbd10820c3
commit 21eadc9661
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"),