Skip to content

Commit

Permalink
Merge pull request #706 from jmartens/patch-1
Browse files Browse the repository at this point in the history
Fix Auto config missing hostname prompt #704
  • Loading branch information
shymega authored May 30, 2020
2 parents 5522d07 + 21eadc9 commit e354d79
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 e354d79

Please sign in to comment.