mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Common/Config: Add a utility class to suppress config change callbacks.
This commit is contained in:
parent
2a3c075330
commit
bbc6bf5294
8 changed files with 42 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue