]> cloud.milkyroute.net Git - dolphin.git/commitdiff
If ignoreOldInfo, we should manually clear oldSelectionRect - an obscure bug where...
authorSimon Paul St James <kdedevel@etotheipiplusone.com>
Tue, 28 Oct 2008 19:42:40 +0000 (19:42 +0000)
committerSimon Paul St James <kdedevel@etotheipiplusone.com>
Tue, 28 Oct 2008 19:42:40 +0000 (19:42 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=877160

src/dolphindetailsview.cpp

index f51d3b0347b6f03c0d0b0732ecea508f5181d860..f21f6ed66d3410ec78c0575c30fa5072f8abfe31 100644 (file)
@@ -696,6 +696,11 @@ void DolphinDetailsView::updateElasticBandSelection()
             }
         }
     }
+    else {
+        // This is the only piece of optimisation data that needs to be explicitly
+        // discarded.
+        m_band.oldSelectionRect = selRect;
+    }
 
     // Do the selection from scratch. Force a update of the horizontal distances info.
     m_band.insideNearestLeftEdge   = nameColumnX + nameColumnWidth + 1;