diff options
| author | Weng Xuetian <[email protected]> | 2013-06-05 17:07:31 -0400 |
|---|---|---|
| committer | Weng Xuetian <[email protected]> | 2013-06-05 17:07:31 -0400 |
| commit | 9ec8c3b790ee4c35c3ea168d5ac169ab2cab6c0a (patch) | |
| tree | 69484fb6b04b8461e16bfc398ec4db23e0992372 /src/views | |
| parent | 616294bc805242f29a5b9c8d44ddd1e7466505ec (diff) | |
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
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
