Index: /trunk/roundcubemail/program/js/list.js
===================================================================
--- /trunk/roundcubemail/program/js/list.js	(revision 1289)
+++ /trunk/roundcubemail/program/js/list.js	(revision 1290)
@@ -399,5 +399,5 @@
 shift_select: function(id, control)
 {
-  if (!this.rows[this.shift_start])
+  if (!this.rows[this.shift_start] || !this.selection.length)
     this.shift_start = id;
 
