summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Reininghaus <frank78ac@googlemail.com>2011-05-19 12:09:37 (GMT)
committerFrank Reininghaus <frank78ac@googlemail.com>2011-05-19 12:09:37 (GMT)
commit54f34a941f85efa659392a06b14fee86f1420bf5 (patch)
treede98c9362c2396b6250c2ba385bc786a0f423b22
parente4fe6e15468522048332422e9cd5adf0f0159dd5 (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. BUG: 273600 4.6.4
-rw-r--r--dolphin/src/views/dolphinview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dolphin/src/views/dolphinview.cpp b/dolphin/src/views/dolphinview.cpp
index 29f62f7..36b2678 100644
--- a/dolphin/src/views/dolphinview.cpp
+++ b/dolphin/src/views/dolphinview.cpp
@@ -592,6 +592,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()