mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
Merge pull request #6709 from JosJuice/qt-controls-clear
DolphinQt2: Fix clearing numeric values in controller config
This commit is contained in:
commit
73c91edde6
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ void MappingNumeric::Connect()
|
||||||
|
|
||||||
void MappingNumeric::Clear()
|
void MappingNumeric::Clear()
|
||||||
{
|
{
|
||||||
m_setting->SetValue(m_setting->m_low + (m_setting->m_low + m_setting->m_high) / 2);
|
m_setting->SetValue(m_setting->m_default_value);
|
||||||
m_parent->SaveSettings();
|
m_parent->SaveSettings();
|
||||||
Update();
|
Update();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue