┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-26 22:32:24 +0000
committerPeter Penz <[email protected]>2008-01-26 22:32:24 +0000
commitab464bc6849dd000b2d0258ececb78ef1eb1a685 (patch)
tree7d04c168e7ac04a44c3349cbd453fa7d637e596c /src/dolphindetailsview.cpp
parentf6c7b90edf05a52fba6e2a06caa0247e909b43e8 (diff)
reset the selection manager when the URL has been changed (otherwise the selection toggle button would stay visible)
svn path=/trunk/KDE/kdebase/apps/; revision=766918
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 09645a489..3be22fb42 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -100,6 +100,8 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
SelectionManager* selManager = new SelectionManager(this);
connect(selManager, SIGNAL(selectionChanged()),
this, SLOT(requestActivation()));
+ connect(m_controller, SIGNAL(urlChanged(const KUrl&)),
+ selManager, SLOT(reset()));
}
} else {
connect(this, SIGNAL(doubleClicked(const QModelIndex&)),