summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-06-10 15:08:16 +0200
committerAleksander Machniak <alec@alec.pl>2014-06-10 15:08:16 +0200
commit4a051cd99f6768e634ba21a0a49f1212b9b19832 (patch)
treeab36d06a412c05ad8d5342c2eac0606f65c6abc2 /program/js
parent62c45161c4efd101b940134b60bb73881746e5f5 (diff)
Fix unintentional unselection with Ctrl+Up/Down in toggleselect mode
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 58bb381b7..d10fa22af 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -945,7 +945,7 @@ select_row: function(id, mod_key, with_mouse)
}
// unselect if toggleselect is active and the same row was clicked again
- if (this.toggleselect && in_selection_before) {
+ if (this.toggleselect && in_selection_before && !mod_key) {
this.clear_selection();
}
// trigger event if selection changed