Add missing setFocusProxy() call in ViewManager

Summary:
This should fix the terminal not gaining focus when using konsolepart.

BUG: 411181
FIXED-IN: 19.12.0

Test Plan:
- The terminal panels in Dolphin and Kate now always gain focus
properly, not just the first time you open them

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D25001
This commit is contained in:
Alex Miranda
2019-10-29 21:53:38 -04:00
committed by Kurt Hindenburg
parent de2b928e1d
commit bbdf27cc9f

View File

@@ -618,6 +618,7 @@ void ViewManager::controllerChanged(SessionController *controller)
return;
}
_viewContainer->setFocusProxy(controller->view());
updateTerminalDisplayHistory(controller->view());
_pluggedController = controller;