Commit 0c3240a1 authored by Axel Navarro's avatar Axel Navarro Committed by Kurt Hindenburg
Browse files

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 13697e07)
parent 33a0d16f
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment