diff options
| author | Frank Reininghaus <[email protected]> | 2011-05-19 14:09:37 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2011-05-19 14:15:33 +0200 |
| commit | be4b787e8e514dc85124ad718821d3900f2ff4b1 (patch) | |
| tree | 3ae41474b1bdb36e4d0a2dae74a3dcbf3cc29a49 /src | |
| parent | 6f802671ff7b42e3d3d2dd4c8ef75147a3756fb9 (diff) | |
Fix DolphinView regression in 4.6: Keep renamed items visible
Commit 78669f2a57ecfb547019383deadf4aeac7d20070 introduced a regression
in DolphinView which disabled the automatic scrolling after a rename
operation to keep the renamed item visible. This commit reverts a part
of that change to re-enable the feature.
CCBUG: 273600
FIXED-IN: 4.6.4
(cherry picked from commit 54f34a941f85efa659392a06b14fee86f1420bf5)
Diffstat (limited to 'src')
| -rw-r--r-- | src/views/dolphinview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 6108c9d4a..1df86439c 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -609,6 +609,10 @@ void DolphinView::renameSelectedItems() dialog->raise(); dialog->activateWindow(); } + + // assure that the current index remains visible when KDirLister + // will notify the view about changed items + m_assureVisibleCurrentIndex = true; } void DolphinView::trashSelectedItems() |
