]> cloud.milkyroute.net Git - dolphin.git/commitdiff
DolphinMainWindow: Notify current selection changed when changing tabs
authorLeonardo Malaman <git@mrpowergamerbr.com>
Fri, 1 Aug 2025 20:18:48 +0000 (17:18 -0300)
committerMéven Car <meven@kde.org>
Thu, 7 Aug 2025 07:26:25 +0000 (07:26 +0000)
So the Information Panel refreshes.

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)