[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkde-baseapps/KDE/4=2E6=5D_dolphin/src/views=3A_Keep?=
From: Matthias Fuchs <mat69 () gmx ! net>
Date: 2011-06-01 23:01:40
Message-ID: 20110601230140.EDDE7A60A4 () git ! kde ! org
[Download RAW message or body]
Git commit 154e601205d0137b02db45b9f18d8a4f1fdfec35 by Matthias Fuchs.
Committed on 02/06/2011 at 00:56.
Pushed by mfuchs into branch 'KDE/4.6'.
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. CCBUG:177215
REVIEW:101487
(cherry picked from commit 7993626ee89a7924d55d0c6f8455438459f1de88)
M +2 -0 dolphin/src/views/dolphinview.cpp
http://commits.kde.org/kde-baseapps/154e601205d0137b02db45b9f18d8a4f1fdfec35
diff --git a/dolphin/src/views/dolphinview.cpp b/dolphin/src/views/dolphinview.cpp
index eeab76d..0615120 100644
--- a/dolphin/src/views/dolphinview.cpp
+++ b/dolphin/src/views/dolphinview.cpp
@@ -671,6 +671,8 @@ void DolphinView::setShowHiddenFiles(bool show)
return;
}
+ m_selectedItems = selectedItems();
+
const KUrl viewPropsUrl = rootUrl();
ViewProperties props(viewPropsUrl);
props.setShowHiddenFiles(show);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic