From: Simon Paul St James Date: Tue, 28 Oct 2008 19:42:40 +0000 (+0000) Subject: If ignoreOldInfo, we should manually clear oldSelectionRect - an obscure bug where... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/6e41855512e023168efccbbebccc4f3203aa14e9 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 --- 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;