┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/viewextensionsfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewextensionsfactory.cpp')
-rw-r--r--src/viewextensionsfactory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/viewextensionsfactory.cpp b/src/viewextensionsfactory.cpp
index 0974e2126..b8606d65b 100644
--- a/src/viewextensionsfactory.cpp
+++ b/src/viewextensionsfactory.cpp
@@ -110,6 +110,10 @@ ViewExtensionsFactory::ViewExtensionsFactory(QAbstractItemView* view,
connect(dolphinView, SIGNAL(sortFoldersFirstChanged(bool)),
this, SLOT(slotSortFoldersFirstChanged(bool)));
+ // inform the controller about selection changes
+ connect(view->selectionModel(), SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)),
+ controller, SLOT(emitSelectionChanged()));
+
connect(controller, SIGNAL(nameFilterChanged(const QString&)),
this, SLOT(slotNameFilterChanged(const QString&)));