mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Common/Config: Add a utility class to suppress config change callbacks.
This commit is contained in:
@ -203,6 +203,8 @@ void NetPlaySetupDialog::ConnectWidgets()
|
||||
|
||||
void NetPlaySetupDialog::SaveSettings()
|
||||
{
|
||||
Config::ConfigChangeCallbackGuard config_guard;
|
||||
|
||||
Config::SetBaseOrCurrent(Config::NETPLAY_NICKNAME, m_nickname_edit->text().toStdString());
|
||||
Config::SetBaseOrCurrent(m_connection_type->currentIndex() == 0 ? Config::NETPLAY_ADDRESS :
|
||||
Config::NETPLAY_HOST_CODE,
|
||||
|
Reference in New Issue
Block a user