┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-02-27 12:17:48 +0100
committerEmmanuel Pescosta <[email protected]>2014-02-27 12:17:48 +0100
commitb7404044470bb3ef241dced31839a1d18e70e3b0 (patch)
tree3b307240f08a0865170b6ec602c0782c840f8072 /src/views
parent006f667ab14aff2d067373e7e88bde4800b2d9c2 (diff)
Scroll to newly dropped files.
If multiple files are dropped, scroll to the first dropped file. BUG: 315722 FIXED-IN: 4.13 REVIEW: 116020
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index 9f5f48a86..b68e8aa6a 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1046,6 +1046,7 @@ void DolphinView::slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* even
if (op && destUrl == url()) {
// Mark the dropped urls as selected.
m_clearSelectionBeforeSelectingNewItems = true;
+ m_markFirstNewlySelectedItemAsCurrent = true;
connect(op, SIGNAL(aboutToCreate(KUrl::List)), this, SLOT(slotAboutToCreate(KUrl::List)));
}