┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-01-06 17:01:38 +0000
committerPeter Penz <[email protected]>2010-01-06 17:01:38 +0000
commitef3b7d89914735f9cd321c4f668629121abfdbf1 (patch)
treed924a54d934ead61c135504a3d46f982b226d722
parent4fdc3bad9c1b2f168466a296f412d904e3315dc9 (diff)
When changing the selection, the currently shown file item should be reset. This fixes the issue that changing the selection with the keyboard might not have an effect if an item is hovered with the mouse.
BUG: 210177 svn path=/trunk/KDE/kdebase/apps/; revision=1070745
-rw-r--r--src/panels/information/informationpanel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panels/information/informationpanel.cpp b/src/panels/information/informationpanel.cpp
index 3d2163baa..1f8e3b541 100644
--- a/src/panels/information/informationpanel.cpp
+++ b/src/panels/information/informationpanel.cpp
@@ -81,6 +81,7 @@ void InformationPanel::setSelection(const KFileItemList& selection)
}
m_selection = selection;
+ m_fileItem = KFileItem();
const int count = selection.count();
if (count == 0) {