diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-04-01 09:49:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-01 09:49:08 -0400 |
| commit | b2772bcb0d994a9646282e98aca5d97b70f843f4 (patch) | |
| tree | d2a1f4b3990c946d63652c23361174a33cd3e782 /src/yuzu/applets/qt_controller.ui | |
| parent | ff4fbaf152929872fc71973cf084ada02af90bdf (diff) | |
| parent | 11edba4974ab702deb54371bf1bf7644f1dd8e38 (diff) | |
Merge pull request #9997 from german77/cancel_controller
applet: controller: Implement cancel button
Diffstat (limited to 'src/yuzu/applets/qt_controller.ui')
| -rw-r--r-- | src/yuzu/applets/qt_controller.ui | 8 |
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> |
