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
This commit is contained in:
Emmanuel Pescosta 2017-02-18 22:00:22 +01:00
parent 6b727613db
commit 1d0b6ba65f
No known key found for this signature in database
GPG key ID: 67C7A6C81D838246

View file

@ -1371,6 +1371,7 @@ void DolphinView::updateViewState()
}
}
selectionManager->beginAnchoredSelection(selectionManager->currentItem());
selectionManager->setSelectedItems(selectedItems);
}
}