From 4a051cd99f6768e634ba21a0a49f1212b9b19832 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 10 Jun 2014 15:08:16 +0200 Subject: [PATCH] Fix unintentional unselection with Ctrl+Up/Down in toggleselect mode --- program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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