┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincolumnwidget.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/dolphincolumnwidget.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/dolphincolumnwidget.cpp')
-rw-r--r--src/dolphincolumnwidget.cpp4
1 files changed, 3 insertions, 1 deletions
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());