summaryrefslogtreecommitdiffstats
path: root/client/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-01-08 08:27:13 +0000
committerVaadin Code Review <review@vaadin.com>2013-01-08 08:27:13 +0000
commit0eb91d3c97266cc3fca4790df067dcb94093f2f4 (patch)
tree04b9be47c2cc9f5987c7e9b6613af48767a4daba /client/src
parentfb30121d333447f73fa8a204094256ffcb734477 (diff)
parent3718ee8d22c2ec1d3a33422533594474901bce70 (diff)
downloadvaadin-framework-0eb91d3c97266cc3fca4790df067dcb94093f2f4.tar.gz
vaadin-framework-0eb91d3c97266cc3fca4790df067dcb94093f2f4.zip
Merge "Fixed NPE in Tabsheet (#10479)"
Diffstat (limited to 'client/src')
-rw-r--r--client/src/com/vaadin/client/ui/VTabsheet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VTabsheet.java b/client/src/com/vaadin/client/ui/VTabsheet.java
index 6d3f2365e2..e39742b2fa 100644
--- a/client/src/com/vaadin/client/ui/VTabsheet.java
+++ b/client/src/com/vaadin/client/ui/VTabsheet.java
@@ -748,7 +748,7 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
// style inheritance)
if (ComponentStateUtil.hasStyles(state)) {
final List<String> styles = state.styles;
- if (!currentStyle.equals(styles.toString())) {
+ if (currentStyle == null || !currentStyle.equals(styles.toString())) {
currentStyle = styles.toString();
final String tabsBaseClass = TABS_CLASSNAME;
String tabsClass = tabsBaseClass;