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
This commit is contained in:
Peter Penz 2010-01-06 17:01:38 +00:00
parent 4fdc3bad9c
commit ef3b7d8991

View file

@ -81,6 +81,7 @@ void InformationPanel::setSelection(const KFileItemList& selection)
}
m_selection = selection;
m_fileItem = KFileItem();
const int count = selection.count();
if (count == 0) {