]> cloud.milkyroute.net Git - dolphin.git/commit
If an item is clicked to trigger it, clear the rest of the selection
authorFrank Reininghaus <frank78ac@googlemail.com>
Mon, 16 Jan 2012 18:59:54 +0000 (19:59 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Mon, 16 Jan 2012 18:59:54 +0000 (19:59 +0100)
commit63cce810a3fd504c6077cbfb7bf10ed35ff1477f
treebad3f5867baa21bc3f9f8cdb90deee29de8c18dd
parentd93cf037ea6c37730cd7baf4ac14c9d4be4a3c7f
If an item is clicked to trigger it, clear the rest of the selection

Note that the clearing is not done on mouse press, but on mouse release.
The reason is that there are situations when multiple items are selected
and pressing the mouse on one of them should not clear the selection
(e.g., drag and drop of multiple items).

BUG: 290854
REVIEW: 103703
FIXED-IN: 4.8.0
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistcontroller.h