Skip to content

Commit

Permalink
Fix Auto config missing hostname prompt #704
Browse files Browse the repository at this point in the history
I think this might fix the prompt for a missing hostname when auto config is checked
  • Loading branch information
jmartens authored May 29, 2020
1 parent dbd1082 commit 21eadc9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 21eadc9

Please sign in to comment.