mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Assure that the item view gets the keyboard focus when it was activated. This fixes the issue that when the view gets split, that the keyboard focus remained on the inactive view.
svn path=/trunk/KDE/kdebase/apps/; revision=814237
This commit is contained in:
parent
1efa3ccad7
commit
c8c4c69a0a
|
@ -176,6 +176,7 @@ void DolphinView::setActive(bool active)
|
|||
update();
|
||||
|
||||
if (active) {
|
||||
itemView()->setFocus();
|
||||
emit activated();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue