mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #549] [MERGED] Qt: Simplify Rebind All behavior #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/549
Author: @ggrtk
Created: 6/15/2020
Status: ✅ Merged
Merged: 6/15/2020
Merged by: @stenzek
Base:
master← Head:qt-rebind-all📝 Commits (2)
fd4e41bQt: Simplify Rebind All behavior1b9dbc1Qt: Add help text note about binding rumble📊 Changes
2 files changed (+15 additions, -10 deletions)
View changed files
📝
src/duckstation-qt/controllersettingswidget.cpp(+12 -8)📝
src/duckstation-qt/settingsdialog.cpp(+3 -2)📄 Description
The current behavior for Rebind All is to unconditionally rebind all buttons regardless of what the user selects in the question message box, with the selection only determining whether or not bindings are cleared before starting the full rebinding process. If Rebind All was pressed unintentionally, it seems that the user has to wait through the timeout process to prevent bindings from being changed.
To make this less prone to user error and more straightforward, Rebind All should first ask for user confirmation (like Clear All does), and if the user confirms, clear all bindings and run the rebinding.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.