Merge pull request #6709 from JosJuice/qt-controls-clear
DolphinQt2: Fix clearing numeric values in controller config
This commit is contained in:
commit
73c91edde6
|
@ -26,7 +26,7 @@ void MappingNumeric::Connect()
|
|||
|
||||
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();
|
||||
Update();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue