summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-01-02 17:17:26 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-01-02 17:17:26 +0100
commit1b4cf7fc274e7765b5a208923236da8d67c02b71 (patch)
tree3dc3b670c3cdedc001974f78cca671871ba59cd8
parentMerge pull request #12544 from zhaobot/tx-update-20240101021433 (diff)
downloadyuzu-1b4cf7fc274e7765b5a208923236da8d67c02b71.tar
yuzu-1b4cf7fc274e7765b5a208923236da8d67c02b71.tar.gz
yuzu-1b4cf7fc274e7765b5a208923236da8d67c02b71.tar.bz2
yuzu-1b4cf7fc274e7765b5a208923236da8d67c02b71.tar.lz
yuzu-1b4cf7fc274e7765b5a208923236da8d67c02b71.tar.xz
yuzu-1b4cf7fc274e7765b5a208923236da8d67c02b71.tar.zst
yuzu-1b4cf7fc274e7765b5a208923236da8d67c02b71.zip
-rw-r--r--src/yuzu/multiplayer/direct_connect.cpp2
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();