From: Peter Penz Date: Wed, 6 Jan 2010 17:01:38 +0000 (+0000) Subject: When changing the selection, the currently shown file item should be reset. This... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/ef3b7d89914735f9cd321c4f668629121abfdbf1?ds=inline 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 --- 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) {