┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dolphinview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp
index 1c06f560c..cda384da4 100644
--- a/src/dolphinview.cpp
+++ b/src/dolphinview.cpp
@@ -1105,7 +1105,8 @@ void DolphinView::slotDirListerCompleted()
if (!m_newFileNames.isEmpty()) {
// select all newly added items created by a paste operation or
- // a drag & drop operation
+ // a drag & drop operation, and clear the previous selection
+ m_viewAccessor.itemView()->clearSelection();
const int rowCount = m_viewAccessor.proxyModel()->rowCount();
QItemSelection selection;
for (int row = 0; row < rowCount; ++row) {