diff options
| author | Peter Penz <[email protected]> | 2008-01-26 22:32:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-01-26 22:32:24 +0000 |
| commit | ab464bc6849dd000b2d0258ececb78ef1eb1a685 (patch) | |
| tree | 7d04c168e7ac04a44c3349cbd453fa7d637e596c /src/dolphiniconsview.cpp | |
| parent | f6c7b90edf05a52fba6e2a06caa0247e909b43e8 (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/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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&)), |
