- and another constraint for shift selection

release-0.6
alecpl 17 years ago
parent f2892d7cfc
commit b00bd0f27d

@ -398,7 +398,7 @@ select_next: function()
*/ */
shift_select: function(id, control) shift_select: function(id, control)
{ {
if (!this.rows[this.shift_start]) if (!this.rows[this.shift_start] || !this.selection.length)
this.shift_start = id; this.shift_start = id;
var from_rowIndex = this.rows[this.shift_start].obj.rowIndex; var from_rowIndex = this.rows[this.shift_start].obj.rowIndex;

Loading…
Cancel
Save