mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
DolphinQt: Fix "Default" and "Clear" buttons not updating the displayed extension.
This commit is contained in:
@ -38,9 +38,8 @@ void MappingDouble::fixup(QString& input) const
|
||||
|
||||
void MappingDouble::ConfigChanged()
|
||||
{
|
||||
const bool old_state = blockSignals(true);
|
||||
const QSignalBlocker blocker(this);
|
||||
setValue(m_setting.GetValue());
|
||||
blockSignals(old_state);
|
||||
}
|
||||
|
||||
MappingBool::MappingBool(MappingWidget* parent, ControllerEmu::NumericSetting<bool>* setting)
|
||||
@ -56,7 +55,6 @@ MappingBool::MappingBool(MappingWidget* parent, ControllerEmu::NumericSetting<bo
|
||||
|
||||
void MappingBool::ConfigChanged()
|
||||
{
|
||||
const bool old_state = blockSignals(true);
|
||||
const QSignalBlocker blocker(this);
|
||||
setChecked(m_setting.GetValue());
|
||||
blockSignals(old_state);
|
||||
}
|
||||
|
Reference in New Issue
Block a user