From 4a051cd99f6768e634ba21a0a49f1212b9b19832 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 10 Jun 2014 09:08:16 -0400
Subject: [PATCH] Fix unintentional unselection with Ctrl+Up/Down in toggleselect mode

---
 program/js/list.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/list.js b/program/js/list.js
index 58bb381..d10fa22 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -945,7 +945,7 @@
   }
 
   // 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

--
Gitblit v1.9.1