Reset the file-item when the viewport is entered and files are selected. Otherwise the information of the file-item will be shown instead of the selection.

svn path=/trunk/KDE/kdebase/apps/; revision=1183544
This commit is contained in:
Peter Penz 2010-10-07 18:13:55 +00:00
parent 6751f6a52a
commit f60340508b

View file

@ -101,6 +101,7 @@ void InformationPanel::requestDelayedItemInfo(const KFileItem& item)
// show information regarding the selection.
if (m_selection.size() > 0) {
cancelRequest();
m_fileItem = KFileItem();
m_infoTimer->start();
}
} else if (item.url().isValid() && !isEqualToShownUrl(item.url())) {