Commit fc6236b2 authored by Maximilian Schiller's avatar Maximilian Schiller
Browse files

Prevent incorrect terminal switching

This should prevent shift+tab of switching the terminal. If no
keybinding is set to shift+tab it gets correctly forwarded to the
shell/terminal.

The old behavior can easily restored by remapping "Next terminal" to
shift+tab.

BUG: 421632
parent 90ef8e96
......@@ -1106,6 +1106,11 @@ bool MainWindow::event(QEvent* event)
return KMainWindow::event(event);
}
bool MainWindow::focusNextPrevChild(bool)
{
return false;
}
void MainWindow::toggleWindowState()
{
bool visible = isVisible();
......
......@@ -95,6 +95,7 @@ class MainWindow : public KMainWindow
void changeEvent(QEvent* event) override;
void closeEvent(QCloseEvent *event) override;
bool event(QEvent* event) override;
bool focusNextPrevChild(bool) override;
virtual bool queryClose() override;
......
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