From 0c12dbe860bc14fd7b39e94a13914eb7c97e24be Mon Sep 17 00:00:00 2001 From: JosJuice Date: Mon, 23 Dec 2019 23:07:05 +0100 Subject: [PATCH] DolphinQt: Properly save netplay session settings when changed --- Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp index 44ed4f8b5b..634c3fb17d 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp @@ -227,6 +227,14 @@ void NetPlaySetupDialog::ConnectWidgets() connect(m_host_chunked_upload_limit_box, static_cast(&QSpinBox::valueChanged), this, &NetPlaySetupDialog::SaveSettings); + + connect(m_host_server_browser, &QCheckBox::toggled, this, &NetPlaySetupDialog::SaveSettings); + connect(m_host_server_name, &QLineEdit::textChanged, this, &NetPlaySetupDialog::SaveSettings); + connect(m_host_server_password, &QLineEdit::textChanged, this, &NetPlaySetupDialog::SaveSettings); + connect(m_host_server_region, + static_cast(&QComboBox::currentIndexChanged), this, + &NetPlaySetupDialog::SaveSettings); + #ifdef USE_UPNP connect(m_host_upnp, &QCheckBox::stateChanged, this, &NetPlaySetupDialog::SaveSettings); #endif