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:
Peter Penz 2008-05-29 18:10:28 +00:00
parent 1efa3ccad7
commit c8c4c69a0a

View file

@ -176,6 +176,7 @@ void DolphinView::setActive(bool active)
update();
if (active) {
itemView()->setFocus();
emit activated();
}