mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-23 23:25:45 +01:00
Merge pull request #5935 from lat9nq/controller_access_keys
debugger: controller: Add access key
This commit is contained in:
commit
90610bde9b
@ -42,7 +42,7 @@ void ControllerDialog::refreshConfiguration() {
|
|||||||
|
|
||||||
QAction* ControllerDialog::toggleViewAction() {
|
QAction* ControllerDialog::toggleViewAction() {
|
||||||
if (toggle_view_action == nullptr) {
|
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->setCheckable(true);
|
||||||
toggle_view_action->setChecked(isVisible());
|
toggle_view_action->setChecked(isVisible());
|
||||||
connect(toggle_view_action, &QAction::toggled, this, &ControllerDialog::setVisible);
|
connect(toggle_view_action, &QAction::toggled, this, &ControllerDialog::setVisible);
|
||||||
|
Loading…
Reference in New Issue
Block a user