diff options
| author | Peter Penz <[email protected]> | 2007-12-06 19:38:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-12-06 19:38:24 +0000 |
| commit | 4939ae662fad860d8355a799f2d7121fe538ee92 (patch) | |
| tree | 622bc29ed284320206041376c3686bf790cfed5a /src | |
| parent | 04948c542adc5a66703fb9ad484448f7d671700c (diff) | |
fixed issue that the information panel shows wrong meta data when having split views in combination with selected items
BUG: 151644
svn path=/trunk/KDE/kdebase/apps/; revision=745669
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinview.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 0b8fe5883..c2ea5ff28 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -147,6 +147,7 @@ void DolphinView::setActive(bool active) } m_active = active; + m_selectionModel->clearSelection(); QColor color = KColorScheme(QPalette::Active, KColorScheme::View).background().color(); if (active) { @@ -816,7 +817,7 @@ void DolphinView::updateCutItems() void DolphinView::showHoverInformation(const KFileItem& item) { - if (hasSelection()) { + if (hasSelection() || !m_active) { return; } @@ -825,7 +826,9 @@ void DolphinView::showHoverInformation(const KFileItem& item) void DolphinView::clearHoverInformation() { - emit requestItemInfo(KFileItem()); + if (m_active) { + emit requestItemInfo(KFileItem()); + } } |
