mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
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:
parent
c98e014d2a
commit
c19c4590cf
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue