Fixed following issue for the information sidebar:

- 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
This commit is contained in:
Peter Penz 2008-05-14 20:50:00 +00:00
parent 11f0d1f551
commit 67c19a140f

View 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()) {