]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Ctrl+Shift+click should have the same effect as Shift+click
authorFrank Reininghaus <frank78ac@googlemail.com>
Sun, 3 Jun 2012 21:03:27 +0000 (23:03 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sun, 3 Jun 2012 21:03:27 +0000 (23:03 +0200)
This makes Dolphin 2.0's behaviour consistent with Dolphin 1.x.

BUG: 300788
FIXED-IN: 4.9.0

src/kitemviews/kitemlistcontroller.cpp

index 1b32093034d61290fae9a042355983f7eef55c31..2c2101935aec1c3a2616482b4e3b826020bb6b90 100644 (file)
@@ -553,7 +553,7 @@ bool KItemListController::mousePressEvent(QGraphicsSceneMouseEvent* event, const
             break;
 
         case MultiSelection:
-            if (controlPressed) {
+            if (controlPressed && !shiftPressed) {
                 m_selectionManager->setSelected(m_pressedIndex, 1, KItemListSelectionManager::Toggle);
                 m_selectionManager->beginAnchoredSelection(m_pressedIndex);
             } else if (!shiftPressed || !m_selectionManager->isAnchoredSelectionActive()) {