diff options
author | liamwhite <[email protected]> | 2024-01-02 13:09:53 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-02 13:09:53 -0500 |
commit | 148ad0cf0b08a0c41db6450f38ccb6ecf95b938a (patch) | |
tree | d8f43ec445702d1127472d1b29e51e6c26dafcb9 | |
parent | cec91c5fd6986539dbb6b3be7665361bff980dfb (diff) | |
parent | 1b4cf7fc274e7765b5a208923236da8d67c02b71 (diff) | |
download | yuzu-mainline-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.tar.gz yuzu-mainline-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.zip |
Merge pull request #12554 from german77/directconnect
yuzu: Use displayed port on direct connect
-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(); |