summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/widgets/Grid.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java
index 54d7f86e41..dbdcb2a07b 100644
--- a/client/src/com/vaadin/client/widgets/Grid.java
+++ b/client/src/com/vaadin/client/widgets/Grid.java
@@ -3742,7 +3742,7 @@ public class Grid<T> extends ResizeComposite implements
* @return <code>true</code> if open, <code>false</code> if not
*/
public boolean isOpen() {
- return content.getParent() == rootContainer;
+ return content != null && content.getParent() == rootContainer;
}
@Override