summaryrefslogtreecommitdiff
path: root/src/yuzu/debugger
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-02-14 15:57:47 -0500
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-02-14 16:10:12 -0500
commit6269cd7f1d5d7745088d192f26e7164a4bf13269 (patch)
tree02c002f224668f9a874206b164c118fb02924f7d /src/yuzu/debugger
parentb0a39153512b1efc031f31e80924e6c14068f4a1 (diff)
debugger: controller: Add access key
Adds the access key to the Controller P1 selection at View -> Debugger -> Controller P1. Avoids using the windowTitle as that would add a literal & to the beginning of the window title.
Diffstat (limited to 'src/yuzu/debugger')
-rw-r--r--src/yuzu/debugger/controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/controller.cpp b/src/yuzu/debugger/controller.cpp
index 85724a8f3..2731d948d 100644
--- a/src/yuzu/debugger/controller.cpp
+++ b/src/yuzu/debugger/controller.cpp
@@ -42,7 +42,7 @@ void ControllerDialog::refreshConfiguration() {
QAction* ControllerDialog::toggleViewAction() {
if (toggle_view_action == nullptr) {
- toggle_view_action = new QAction(windowTitle(), this);
+ toggle_view_action = new QAction(tr("&Controller P1"), this);
toggle_view_action->setCheckable(true);
toggle_view_action->setChecked(isVisible());
connect(toggle_view_action, &QAction::toggled, this, &ControllerDialog::setVisible);