mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00: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:
parent
1aabae49ed
commit
c1d0a49f35
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue