From bbdf27cc9fee4cf40e7f2551769445b2146ec20c Mon Sep 17 00:00:00 2001 From: Alex Miranda Date: Tue, 29 Oct 2019 21:53:38 -0400 Subject: [PATCH] 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 --- src/ViewManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index 2d3c76736..8d5f89384 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -618,6 +618,7 @@ void ViewManager::controllerChanged(SessionController *controller) return; } + _viewContainer->setFocusProxy(controller->view()); updateTerminalDisplayHistory(controller->view()); _pluggedController = controller;