diff options
| author | Peter Penz <[email protected]> | 2012-01-14 22:00:22 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-01-14 22:01:58 +0100 |
| commit | ed429d73097492591ee5025c80bea93eb4cbc23c (patch) | |
| tree | 092e5d9b74f326db6ea6f43d13f89f76c2b27c0c /src | |
| parent | 538d9bf43f4164179f57495e582ef1f44331fde4 (diff) | |
Assure an active view when activating an item
This might not be the case when e.g. having a split view, having enabled the "auto
expand folders" option and dragging an item from the active view to another
folder of the inactive view.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index df5fe6b15..2ad5bea5c 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -373,6 +373,11 @@ void DolphinViewContainer::slotFinishedPathLoading() void DolphinViewContainer::slotItemActivated(const KFileItem& item) { + // It is possible to activate items on inactive views by + // drag & drop operations. Assure that activating an item always + // results in an active view. + m_view->setActive(true); + KUrl url = item.targetUrl(); if (item.isDir()) { |
