From f60340508be4f562d52007a88a55d6dacbe7518e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 7 Oct 2010 18:13:55 +0000 Subject: [PATCH] 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 --- src/panels/information/informationpanel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/information/informationpanel.cpp b/src/panels/information/informationpanel.cpp index 56810d9afc..86a7bb9990 100644 --- a/src/panels/information/informationpanel.cpp +++ b/src/panels/information/informationpanel.cpp @@ -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())) {