]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinview.cpp
Increase version number to 1.5
[dolphin.git] / src / dolphinview.cpp
index 1c06f560c5fe6e4e080c8c424af40d7bba574e85..cda384da4ef78d658451c40a4586fdbe501450c5 100644 (file)
@@ -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) {