aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/applets/qt_controller.ui
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-03-26 21:26:28 -0600
committergerman77 <juangerman-13@hotmail.com>2023-03-30 07:49:44 -0600
commit11edba4974ab702deb54371bf1bf7644f1dd8e38 (patch)
tree46d733ac751af1426de717991feb1e262bea117b /src/yuzu/applets/qt_controller.ui
parent8bdc51b620f0778f53d76ad9368da97a9213d631 (diff)
applet: controller: Implement cancel button
Diffstat (limited to 'src/yuzu/applets/qt_controller.ui')
-rw-r--r--src/yuzu/applets/qt_controller.ui8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/applets/qt_controller.ui b/src/yuzu/applets/qt_controller.ui
index f5eccba70..729e921ee 100644
--- a/src/yuzu/applets/qt_controller.ui
+++ b/src/yuzu/applets/qt_controller.ui
@@ -2629,7 +2629,7 @@
<bool>true</bool>
</property>
<property name="standardButtons">
- <set>QDialogButtonBox::Ok</set>
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
@@ -2649,5 +2649,11 @@
<receiver>QtControllerSelectorDialog</receiver>
<slot>accept()</slot>
</connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>QtControllerSelectorDialog</receiver>
+ <slot>reject()</slot>
+ </connection>
</connections>
</ui>