Qt: reset config when null pad handler is selected

This commit is contained in:
Megamouse 2021-09-15 21:12:55 +02:00
parent b955469721
commit 460fb66949

View File

@ -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