From: Emmanuel Pescosta Date: Sat, 18 Feb 2017 21:00:22 +0000 (+0100) Subject: Start an anchored selection when restoring the selected items to make it possible X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/1d0b6ba65ff625245c40be0c94cf1ed0c780792e Start an anchored selection when restoring the selected items to make it possible that the selection can be changed after reloading of the current view. Otherwise it is not possible to alter the selection without restarting a new one. Bug found by Martin Tobias Holmedahl Sandsmark See also RR 128563 --- diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index bf806055b..63f6252ed 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -1371,6 +1371,7 @@ void DolphinView::updateViewState() } } + selectionManager->beginAnchoredSelection(selectionManager->currentItem()); selectionManager->setSelectedItems(selectedItems); } }