From 9ec8c3b790ee4c35c3ea168d5ac169ab2cab6c0a Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Wed, 5 Jun 2013 17:07:31 -0400 Subject: [PATCH] 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 --- src/views/dolphinview.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.3