From 6e41855512e023168efccbbebccc4f3203aa14e9 Mon Sep 17 00:00:00 2001 From: Simon Paul St James Date: Tue, 28 Oct 2008 19:42:40 +0000 Subject: If ignoreOldInfo, we should manually clear oldSelectionRect - an obscure bug where it is no longer possible to use rubber band selection(!) occurs otherwise! svn path=/trunk/KDE/kdebase/apps/; revision=877160 --- src/dolphindetailsview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphindetailsview.cpp') diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index f51d3b034..f21f6ed66 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -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; -- cgit v1.3