From: Peter Penz Date: Thu, 29 May 2008 18:10:28 +0000 (+0000) Subject: Assure that the item view gets the keyboard focus when it was activated. This fixes... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c8c4c69a0a61333fd7476e464229437edb9587a1?ds=inline 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 --- diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 3e9b40e0b..5fc6822b0 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -176,6 +176,7 @@ void DolphinView::setActive(bool active) update(); if (active) { + itemView()->setFocus(); emit activated(); }