]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed #5431
authorJohn Alhroos <john.ahlroos@itmill.com>
Thu, 12 Aug 2010 12:44:49 +0000 (12:44 +0000)
committerJohn Alhroos <john.ahlroos@itmill.com>
Thu, 12 Aug 2010 12:44:49 +0000 (12:44 +0000)
svn changeset:14473/svn branch:6.4

src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java

index 1aa1b05ff7333a69f4a2d425d8ac7b970b8584cb..7224ef0c90e8cfad5971e75dc3a9dc617924a1ad 100644 (file)
@@ -3870,11 +3870,14 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
                                             deselectAll();
                                         }
                                         toggleSelection();
-                                    } /*
-                                       * else NOP to avoid excessive server
-                                       * visits (selection is removed with
-                                       * CTRL/META click)
-                                       */
+                                    } else if (selectMode == SELECT_MODE_SINGLE
+                                            && nullSelectionAllowed) {
+                                        toggleSelection();
+                                    }/*
+                                      * else NOP to avoid excessive server
+                                      * visits (selection is removed with
+                                      * CTRL/META click)
+                                      */
 
                                     selectionRangeStart = this;
                                     setRowFocus(this);