Qt: Fix overlapping widgets in macro trigger shift-click

This commit is contained in:
Stenzek 2025-02-10 02:15:27 +10:00
parent 3eed0d0613
commit 7a587d927f
No known key found for this signature in database
2 changed files with 11 additions and 2 deletions

View File

@ -53,6 +53,15 @@ InputBindingDialog::InputBindingDialog(SettingsInterface* sif, InputBindingInfo:
else
{
m_ui.verticalLayout->removeWidget(m_ui.sensitivityWidget);
delete m_ui.sensitivityWidget;
m_ui.sensitivity = nullptr;
m_ui.sensitivityLabel = nullptr;
m_ui.sensitivityValue = nullptr;
m_ui.resetSensitivity = nullptr;
m_ui.deadzone = nullptr;
m_ui.deadzoneLabel = nullptr;
m_ui.deadzoneValue = nullptr;
m_ui.resetDeadzone = nullptr;
}
}

View File

@ -117,7 +117,7 @@
<item row="0" column="3">
<widget class="QToolButton" name="resetSensitivity">
<property name="toolTip">
<string>Reset Volume</string>
<string>Reset</string>
</property>
<property name="icon">
<iconset theme="refresh-line"/>
@ -127,7 +127,7 @@
<item row="1" column="3">
<widget class="QToolButton" name="resetDeadzone">
<property name="toolTip">
<string>Reset Fast Forward Volume</string>
<string>Reset</string>
</property>
<property name="icon">
<iconset theme="refresh-line"/>