┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Fuchs <[email protected]>2011-06-02 00:56:54 +0200
committerMatthias Fuchs <[email protected]>2011-06-02 00:59:56 +0200
commitea6dc3fde7d545cceab32b7c53df4359adf6d505 (patch)
treea76db9f83e7ce4018a408dce64dc1dccfc4b0082 /src
parent0a7c5997df75455c08e951233d8b87720409c865 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/views/dolphinview.cpp2
1 files changed, 2 insertions, 0 deletions
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);