From: Peter Penz Date: Thu, 7 Oct 2010 18:13:55 +0000 (+0000) Subject: Reset the file-item when the viewport is entered and files are selected. Otherwise... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f60340508be4f562d52007a88a55d6dacbe7518e 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 --- diff --git a/src/panels/information/informationpanel.cpp b/src/panels/information/informationpanel.cpp index 56810d9af..86a7bb999 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())) {