diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-02 19:09:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-02 19:09:53 +0100 |
commit | 148ad0cf0b08a0c41db6450f38ccb6ecf95b938a (patch) | |
tree | d8f43ec445702d1127472d1b29e51e6c26dafcb9 | |
parent | Merge pull request #12551 from t895/dpad-save-fix (diff) | |
parent | yuzu: Use displayed port on direct connect (diff) | |
download | yuzu-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.tar yuzu-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.tar.gz yuzu-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.tar.bz2 yuzu-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.tar.lz yuzu-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.tar.xz yuzu-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.tar.zst yuzu-148ad0cf0b08a0c41db6450f38ccb6ecf95b938a.zip |
-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(); |