]> cloud.milkyroute.net Git - dolphin.git/commitdiff
When changing the selection, the currently shown file item should be reset. This...
authorPeter Penz <peter.penz19@gmail.com>
Wed, 6 Jan 2010 17:01:38 +0000 (17:01 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 6 Jan 2010 17:01:38 +0000 (17:01 +0000)
BUG: 210177

svn path=/trunk/KDE/kdebase/apps/; revision=1070745

src/panels/information/informationpanel.cpp

index 3d2163baaa32bc0e193adc695a53245964f3227d..1f8e3b5413aedaafdfe45819c24a34edfb7e6eda 100644 (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) {