From c19c4590cfd5e66a1ae8ec4acc4d5adf226be90a Mon Sep 17 00:00:00 2001 From: Emmanuel Pescosta Date: Wed, 10 Sep 2014 00:23:04 +0200 Subject: [PATCH] Set the focus to the active view if the current tab has been changed. BUG: 338892 FIXED-IN: 4.15.0 REVIEW: 120125 --- src/dolphintabwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index b1b2d858f7..c6607e5293 100644 --- a/src/dolphintabwidget.cpp +++ b/src/dolphintabwidget.cpp @@ -315,6 +315,7 @@ void DolphinTabWidget::currentTabChanged(int index) DolphinViewContainer* viewContainer = tabPageAt(index)->activeViewContainer(); emit activeViewChanged(viewContainer); emit currentUrlChanged(viewContainer->url()); + viewContainer->view()->setFocus(); } void DolphinTabWidget::tabInserted(int index)