┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Paul St James <[email protected]>2008-10-26 21:21:58 +0000
committerSimon Paul St James <[email protected]>2008-10-26 21:21:58 +0000
commitaccafbf95e158603cfcfe2173661a9b23f271064 (patch)
tree58d468ab0e91112a06cd77c7bf86dbf30a7c83b5 /src
parent382ac5f01d1f12da5980ae6873aa21d9b4be6d9b (diff)
If we commit a toggle range due to a change of parent, check to see if we should immediately form a new range with the current index. This stops child items from sometime being missed by the band.
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=876240
Diffstat (limited to 'src')
-rw-r--r--src/dolphindetailsview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 3ccca4622..82f76f6e0 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -776,7 +776,11 @@ void DolphinDetailsView::updateElasticBandSelection()
currIndex.parent() != toggleIndexRangeBegin.parent());
if (commitToggleIndexRange) {
itemsToToggle.select(toggleIndexRangeBegin, lastIndex );
- formingToggleIndexRange = false;
+ // Immediately start a new range with currIndex?
+ if (needToToggleItem) {
+ toggleIndexRangeBegin = currIndex;
+ }
+ formingToggleIndexRange = needToToggleItem;
}
// next item