From: Peter Penz Date: Thu, 6 Dec 2007 19:38:24 +0000 (+0000) Subject: fixed issue that the information panel shows wrong meta data when having split views... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/4939ae662fad860d8355a799f2d7121fe538ee92 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 --- 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()); + } }