diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/multiplayer/direct_connect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/multiplayer/direct_connect.cpp b/src/yuzu/multiplayer/direct_connect.cpp index a415a953f..74da97e21 100644 --- a/src/yuzu/multiplayer/direct_connect.cpp +++ b/src/yuzu/multiplayer/direct_connect.cpp @@ -94,7 +94,7 @@ void DirectConnectWindow::Connect() { // Store settings UISettings::values.multiplayer_nickname = ui->nickname->text().toStdString(); UISettings::values.multiplayer_ip = ui->ip->text().toStdString(); - if (ui->port->isModified() && !ui->port->text().isEmpty()) { + if (!ui->port->text().isEmpty()) { UISettings::values.multiplayer_port = ui->port->text().toInt(); } else { UISettings::values.multiplayer_port = UISettings::values.multiplayer_port.GetDefault(); |