mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
DolphinQt2: Fix clearing numeric values in controller config
This commit is contained in:
parent
28138cfde9
commit
8870ffeac4
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