]> cloud.milkyroute.net Git - dolphin.git/commit
Fix selection when navigating back, with size sorting.
authorThomas Surrel <thomas.surrel@protonmail.com>
Tue, 20 Nov 2018 11:10:15 +0000 (12:10 +0100)
committerThomas Surrel <thomas.surrel@protonmail.com>
Sat, 1 Dec 2018 20:18:58 +0000 (21:18 +0100)
commit6100f66ae2ba5ae50c2fcc263b6faaa695d37948
tree2b768d2e629e3e85659d637091b469a052cd8abf
parent60e5c1bd8e6ee40d96d574171c4295661dd2e3aa
Fix selection when navigating back, with size sorting.

Summary:
KItemListSelectionManager::itemsMoved (called when sorting by size)
was re-activating anchor selection regardless if we actually were
doing an anchored selection. This was leading to an incorrect
selection when navigating back.

BUG: 352296

Test Plan:
In any folder, sort by size then move to a subfolder. Navigate back
to the parent folder: only the parent folder should be selected.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17042
src/kitemviews/kitemlistselectionmanager.cpp