aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/connectors/SingleSelectionModelConnector.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/connectors/SingleSelectionModelConnector.java b/client/src/com/vaadin/client/connectors/SingleSelectionModelConnector.java
index f8c2854815..fddf3865a2 100644
--- a/client/src/com/vaadin/client/connectors/SingleSelectionModelConnector.java
+++ b/client/src/com/vaadin/client/connectors/SingleSelectionModelConnector.java
@@ -90,6 +90,16 @@ public class SingleSelectionModelConnector extends
}
@Override
+ public void reset() {
+ super.reset();
+
+ // Clean up selected row
+ if (selectedRow != null) {
+ clearSelectedRow();
+ }
+ }
+
+ @Override
public boolean select(JsonObject row) {
boolean changed = false;