diff options
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 82f76f6e0..8aff93bfa 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -717,6 +717,11 @@ void DolphinDetailsView::updateElasticBandSelection() } else { startIndex = model()->index(startIndex.row(), KDirModel::Name); } + if (!startIndex.isValid()) { + clearSelection(); + m_band.ignoreOldInfo = true; + return; + } // Go through all indexes between the top and bottom of boundingRect, and // update the selection. |
