summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-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 38c74336c..e4d05e315 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -398,7 +398,7 @@ select_next: function()
*/
shift_select: function(id, control)
{
- if (!this.rows[this.shift_start])
+ if (!this.rows[this.shift_start] || !this.selection.length)
this.shift_start = id;
var from_rowIndex = this.rows[this.shift_start].obj.rowIndex;