Verified Commit 0eb3a302 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Allow switching the terminals in split view with CTRL+TAB

parent 172cf89e
......@@ -381,13 +381,13 @@ void MainWindow::setupActions()
action = actionCollection()->addAction(QStringLiteral("previous-terminal"));
action->setText(xi18nc("@action", "Previous Terminal"));
action->setIcon(QIcon::fromTheme(QStringLiteral("go-previous")));
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Up));
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Tab));
connect(action, SIGNAL(triggered()), m_sessionStack, SIGNAL(previousTerminal()));
action = actionCollection()->addAction(QStringLiteral("next-terminal"));
action->setText(xi18nc("@action", "Next Terminal"));
action->setIcon(QIcon::fromTheme(QStringLiteral("go-next")));
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Down));
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::CTRL | Qt::Key_Tab));
connect(action, SIGNAL(triggered()), m_sessionStack, SIGNAL(nextTerminal()));
action = actionCollection()->addAction(QStringLiteral("close-active-terminal"));
......
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