Skip to content

Commit

Permalink
DolphinQt2: Fix clearing numeric values in controller config
Browse files Browse the repository at this point in the history
  • Loading branch information
JosJuice committed Apr 28, 2018
1 parent 28138cf commit 8870ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt2/Config/Mapping/MappingNumeric.cpp
Expand Up @@ -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();
}
Expand Down

0 comments on commit 8870ffe

Please sign in to comment.