mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Settings: Bugfix. Fix some combo boxes setting a value without user input. Prevents initial Load from calling the connection to save value.
This commit is contained in:
@ -45,8 +45,8 @@ ConfigStringChoice::ConfigStringChoice(const std::vector<std::pair<QString, QStr
|
|||||||
for (const auto& [option_text, option_data] : options)
|
for (const auto& [option_text, option_data] : options)
|
||||||
addItem(option_text, option_data);
|
addItem(option_text, option_data);
|
||||||
|
|
||||||
connect(this, &QComboBox::currentIndexChanged, this, &ConfigStringChoice::Update);
|
|
||||||
Load();
|
Load();
|
||||||
|
connect(this, &QComboBox::currentIndexChanged, this, &ConfigStringChoice::Update);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigStringChoice::Update(int index)
|
void ConfigStringChoice::Update(int index)
|
||||||
|
Reference in New Issue
Block a user