From: Frank Reininghaus Date: Thu, 19 May 2011 12:09:37 +0000 (+0200) Subject: Fix DolphinView regression in 4.6: Keep renamed items visible X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/be4b787e8e514dc85124ad718821d3900f2ff4b1?ds=sidebyside 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) --- 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()