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/dolphincolumnwidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dolphincolumnwidget.cpp') diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index 8bf66b2c8..73cce011f 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -126,7 +126,9 @@ DolphinColumnWidget::DolphinColumnWidget(QWidget* parent, SelectionManager* selManager = new SelectionManager(this); connect(selManager, SIGNAL(selectionChanged()), this, SLOT(requestActivation())); - } + connect(m_view->m_controller, SIGNAL(urlChanged(const KUrl&)), + selManager, SLOT(reset())); +} new KMimeTypeResolver(this, m_dolphinModel); m_iconManager = new IconManager(this, m_proxyModel); m_iconManager->setShowPreview(m_view->m_controller->dolphinView()->showPreview()); -- cgit v1.3