Commit 96d9821d authored by Anton Karmanov's avatar Anton Karmanov

Add ViewSplitter::FocusInEvent()

parent 5ab73956
......@@ -355,4 +355,7 @@ void Konsole::ViewSplitter::dropEvent(QDropEvent* ev)
}
}
void ViewSplitter::focusInEvent(QFocusEvent* event)
{
activeSplitter()->activeTerminalDisplay()->setFocus();
}
......@@ -125,6 +125,8 @@ protected:
void dragMoveEvent(QDragMoveEvent *ev) override;
void dragLeaveEvent(QDragLeaveEvent * event) override;
void dropEvent(QDropEvent *ev) override;
// TODO: needs focusOutEvent also.
void focusInEvent(QFocusEvent* event) override;
Q_SIGNALS:
void terminalDisplayDropped(TerminalDisplay *terminalDisplay);
......
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