summaryrefslogtreecommitdiffstats
path: root/src/controls/TableView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TableView.qml')
-rw-r--r--src/controls/TableView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml
index 39c954bf9..6ade774d0 100644
--- a/src/controls/TableView.qml
+++ b/src/controls/TableView.qml
@@ -695,7 +695,7 @@ ScrollView {
function keySelect(shiftPressed, row) {
if (row < 0 || row === rowCount - 1)
return
- if (shiftPressed) {
+ if (shiftPressed && (selectionMode >= SelectionMode.ExtendedSelection)) {
selection.__ranges = new Array()
selection.select(mousearea.firstKeyRow, row)
} else {