From ea6dc3fde7d545cceab32b7c53df4359adf6d505 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Thu, 2 Jun 2011 00:56:54 +0200 Subject: [PATCH] Keeps the selection after showing/hiding hidden files. Still only files that are shown will be selected, thus selecting hidden files and then hiding hidden files will deselect those. BUG:177215 REVIEW:101487 --- src/views/dolphinview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 4bc901b9a..681ce74f7 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -688,6 +688,8 @@ void DolphinView::setShowHiddenFiles(bool show) return; } + m_selectedItems = selectedItems(); + const KUrl viewPropsUrl = rootUrl(); ViewProperties props(viewPropsUrl); props.setShowHiddenFiles(show); -- 2.47.3