Qt: reset config when null pad handler is selected
This commit is contained in:
@@ -1176,6 +1176,7 @@ void pad_settings_dialog::ChangeHandler()
|
|||||||
switch (m_handler->m_type)
|
switch (m_handler->m_type)
|
||||||
{
|
{
|
||||||
case pad_handler::null:
|
case pad_handler::null:
|
||||||
|
GetPlayerConfig().from_default();
|
||||||
if (is_ldd_pad)
|
if (is_ldd_pad)
|
||||||
m_description = tooltips.gamepad_settings.ldd_pad;
|
m_description = tooltips.gamepad_settings.ldd_pad;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user