diff options
| author | Simon Paul St James <[email protected]> | 2008-10-28 19:42:40 +0000 |
|---|---|---|
| committer | Simon Paul St James <[email protected]> | 2008-10-28 19:42:40 +0000 |
| commit | 6e41855512e023168efccbbebccc4f3203aa14e9 (patch) | |
| tree | 15499a9c2fdc95c7eb451f92234dc8d94690bb9b /src/dolphindetailsview.cpp | |
| parent | 1984e18ad1935a4eb12fc36b892ca6a90ad88503 (diff) | |
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
Diffstat (limited to 'src/dolphindetailsview.cpp')
| -rw-r--r-- | src/dolphindetailsview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
