aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-11-11 09:24:26 +0000
committerLeif Åstrand <leif@vaadin.com>2011-11-11 09:24:26 +0000
commit0acd1bb01b6caa054e2e90cdb19fefd48e1b4969 (patch)
treeedd42fc70fa9c4fcc773d5fb0dc1e5d539ae5d1c /src/com/vaadin
parentbc71f0a1822471ce2e06d7f71448fd24d7fc42f3 (diff)
downloadvaadin-framework-0acd1bb01b6caa054e2e90cdb19fefd48e1b4969.tar.gz
vaadin-framework-0acd1bb01b6caa054e2e90cdb19fefd48e1b4969.zip
Fix restore of display style based on review (#3125)
svn changeset:21968/svn branch:6.7
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VView.java b/src/com/vaadin/terminal/gwt/client/ui/VView.java
index d346168a41..f82672e801 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VView.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VView.java
@@ -624,7 +624,7 @@ public class VView extends SimplePanel implements Container, ResizeHandler,
if (originalDisplay.length() == 0) {
layoutStyle.clearDisplay();
} else {
- layoutStyle.setDisplay(Display.valueOf(originalDisplay));
+ layoutStyle.setProperty("display", originalDisplay);
}
}