┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabwidget.cpp
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-09-10 00:23:04 +0200
committerEmmanuel Pescosta <[email protected]>2014-09-10 09:41:17 +0200
commitc19c4590cfd5e66a1ae8ec4acc4d5adf226be90a (patch)
tree1e3a62e86f34a942ebfe6a2cb58088cf22fb8639 /src/dolphintabwidget.cpp
parentc98e014d2a498cd08e650331a00ae5e096715196 (diff)
Set the focus to the active view if the current tab has been changed.
BUG: 338892 FIXED-IN: 4.15.0 REVIEW: 120125
Diffstat (limited to 'src/dolphintabwidget.cpp')
-rw-r--r--src/dolphintabwidget.cpp1
1 files changed, 1 insertions, 0 deletions
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)