Qt: Fix sensitivity/deadzone showing for shift-click macro trigger

This commit is contained in:
Stenzek 2023-03-03 20:34:46 +10:00 committed by lightningterror
parent b219ee9049
commit 30989761e2
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ InputBindingDialog::InputBindingDialog(SettingsInterface* sif, InputBindingInfo:
else
{
m_ui.verticalLayout->removeWidget(m_ui.sensitivityWidget);
delete m_ui.sensitivityWidget;
m_ui.sensitivityWidget = nullptr;
}
}