diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-02-27 12:17:48 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-02-27 12:17:48 +0100 |
| commit | b7404044470bb3ef241dced31839a1d18e70e3b0 (patch) | |
| tree | 3b307240f08a0865170b6ec602c0782c840f8072 /src/views/dolphinview.cpp | |
| parent | 006f667ab14aff2d067373e7e88bde4800b2d9c2 (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/dolphinview.cpp')
| -rw-r--r-- | src/views/dolphinview.cpp | 1 |
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))); } |
