diff options
| author | Frank Reininghaus <[email protected]> | 2010-05-27 18:16:53 +0000 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2010-05-27 18:16:53 +0000 |
| commit | 85f85e8532caabe2e287a1f0c8bfe68596251845 (patch) | |
| tree | 8c463e078c77e260bbb7ffc810b7f2c7057738b3 | |
| parent | a56b52dc4d3e6253fd88d0a34e9ea1f59a65ee45 (diff) | |
When pasting or dropping items in the view in Dolphin or the
DolphinPart (running in Konqueror), do not only select the new items,
but also clear the previous selection.
BUG: 223905
svn path=/trunk/KDE/kdebase/apps/; revision=1131230
| -rw-r--r-- | src/dolphinview.cpp | 3 |
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) { |
