From: Emmanuel Pescosta Date: Tue, 9 Sep 2014 22:23:04 +0000 (+0200) Subject: Set the focus to the active view if the current tab has been changed. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c19c4590cfd5e66a1ae8ec4acc4d5adf226be90a?hp=-c Set the focus to the active view if the current tab has been changed. BUG: 338892 FIXED-IN: 4.15.0 REVIEW: 120125 --- c19c4590cfd5e66a1ae8ec4acc4d5adf226be90a diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp index b1b2d858f..c6607e529 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)