Set the focus to the active view if the current tab has been changed.

BUG: 338892
FIXED-IN: 4.15.0
REVIEW: 120125
This commit is contained in:
Emmanuel Pescosta 2014-09-10 00:23:04 +02:00
parent c98e014d2a
commit c19c4590cf

View file

@ -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)