From: Weng Xuetian Date: Wed, 5 Jun 2013 21:07:31 +0000 (-0400) Subject: move focus to another view upon drop X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/9ec8c3b790ee4c35c3ea168d5ac169ab2cab6c0a move focus to another view upon drop When user drag and drop to another splitted view, the view will be activated, thus if user close the split view, the view will be closed, while this is usually the case when user copy file to remote/removable media. REVIEW: 110167 CCBUG: 312834 --- diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 6fadaa85c..9a4b8633e 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1041,6 +1041,8 @@ void DolphinView::slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* even m_clearSelectionBeforeSelectingNewItems = true; connect(op, SIGNAL(urlPasted(KUrl)), this, SLOT(slotUrlPasted(KUrl))); } + + setActive(true); } void DolphinView::slotModelChanged(KItemModelBase* current, KItemModelBase* previous)