]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fixed following issue for the information sidebar:
authorPeter Penz <peter.penz19@gmail.com>
Wed, 14 May 2008 20:50:00 +0000 (20:50 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 14 May 2008 20:50:00 +0000 (20:50 +0000)
- select n files
- hover one selected file (-> old selection preview gets grey, new preview gets started)
- go to the viewport before the preview has been finished

Result: new preview has been displayed, although the viewport has been entered
Wanted behavior: old selection preview should be shown

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

src/infosidebarpage.cpp

index a9cc356d41c0b4fea31dc2e5101c84701ec179a3..d2652e0d100763c4566e7751d57116b707bee5a0 100644 (file)
@@ -152,6 +152,7 @@ void InfoSidebarPage::requestDelayedItemInfo(const KFileItem& item)
         // The cursor is above the viewport. If files are selected,
         // show information regarding the selection.
         if (m_selection.size() > 0) {
+            m_pendingPreview = false;
             m_timer->start(TimerDelay);
         }
     } else if (!item.url().isEmpty()) {