From ab464bc6849dd000b2d0258ececb78ef1eb1a685 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 26 Jan 2008 22:32:24 +0000 Subject: 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 --- src/dolphiniconsview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphiniconsview.cpp') diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 18d4accec..9e4a2604b 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -71,6 +71,8 @@ DolphinIconsView::DolphinIconsView(QWidget* parent, DolphinController* controlle 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&)), -- cgit v1.3