diff options
| author | Peter Penz <[email protected]> | 2010-10-07 18:13:55 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-10-07 18:13:55 +0000 |
| commit | f60340508be4f562d52007a88a55d6dacbe7518e (patch) | |
| tree | a6e8f384f036593260ff8f0848043f0d1fb5a609 /src/panels/information | |
| parent | 6751f6a52a25857aeafc8ca2db809895663c24bd (diff) | |
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
Diffstat (limited to 'src/panels/information')
| -rw-r--r-- | src/panels/information/informationpanel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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())) { |
