From 0c3240a1bef1eba5f35b0ad90d2d50c096edae2a Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Mon, 1 Jun 2020 00:01:59 -0300 Subject: [PATCH] Fix override switch-to-tab action in Yakuake Add the switch-to-tab-%i actions in ViewManager to the _multiTabOnlyActions collection to allow override them in Yakuake BUG: 420503 (cherry picked from commit 13697e07d9290f3c14d57ec27884bb9756999f27) --- src/ViewManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index 1352f1c54..6efb1a1d8 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -248,6 +248,7 @@ void ViewManager::setupActions() action = new QAction(i18nc("@action Shortcut entry", "Switch to Tab %1", i + 1), this); connect(action, &QAction::triggered, this, [this, i]() { switchToView(i); }); collection->addAction(QStringLiteral("switch-to-tab-%1").arg(i), action); + _multiTabOnlyActions << action; // only add default shortcut bindings for the first 9 tabs, regardless of SWITCH_TO_TAB_COUNT if (i < 9) { -- GitLab