┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-05-29 18:10:28 +0000
committerPeter Penz <[email protected]>2008-05-29 18:10:28 +0000
commitc8c4c69a0a61333fd7476e464229437edb9587a1 (patch)
tree9ea57b1983b03dd957400e3e9842ea5c87aab85e
parent1efa3ccad76fa709791d0e322b17d1a00f5d1a7e (diff)
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
-rw-r--r--src/dolphinview.cpp1
1 files changed, 1 insertions, 0 deletions
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();
}