]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Reset the file-item when the viewport is entered and files are selected. Otherwise...
authorPeter Penz <peter.penz19@gmail.com>
Thu, 7 Oct 2010 18:13:55 +0000 (18:13 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 7 Oct 2010 18:13:55 +0000 (18:13 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1183544

src/panels/information/informationpanel.cpp

index 56810d9afcdaac0ab3fae398bcbcffb9aa2fdfb1..86a7bb9990d7565433a26e2ab0925ecf296be38c 100644 (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())) {