]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
DolphinMainWindow: Notify current selection changed when changing tabs
[dolphin.git] / src / dolphinmainwindow.cpp
index 78560d820605bad2b91080db25e7246927a3eeef..51772eac28b1abb7897abe3d58387f32f9298472 100644 (file)
@@ -1661,6 +1661,7 @@ void DolphinMainWindow::activeViewChanged(DolphinViewContainer *viewContainer)
 
     const QUrl url = viewContainer->url();
     Q_EMIT urlChanged(url);
+    Q_EMIT selectionChanged(m_activeViewContainer->view()->selectedItems());
 }
 
 void DolphinMainWindow::tabCountChanged(int count)