aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlli Tietäväinen <ollit@vaadin.com>2017-11-10 17:05:44 +0200
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-11-27 10:43:45 +0200
commit1208457162fac5502090ee792ff46ddb4768744d (patch)
treefacf3f532812029d92090889c5cfd2fbafd8c545
parent61c8896a88bc09d749f070b8267c679de8b3c0e4 (diff)
downloadvaadin-framework-1208457162fac5502090ee792ff46ddb4768744d.tar.gz
vaadin-framework-1208457162fac5502090ee792ff46ddb4768744d.zip
set default ContentMode PREFORMATTED in parameterless TooltipInfo constructor, fixes undefined enum value access in VTooltip.setTooltipText
-rw-r--r--client/src/main/java/com/vaadin/client/TooltipInfo.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/TooltipInfo.java b/client/src/main/java/com/vaadin/client/TooltipInfo.java
index a84e45e988..ba40405071 100644
--- a/client/src/main/java/com/vaadin/client/TooltipInfo.java
+++ b/client/src/main/java/com/vaadin/client/TooltipInfo.java
@@ -32,6 +32,7 @@ public class TooltipInfo {
private Object identifier;
public TooltipInfo() {
+ this("", ContentMode.PREFORMATTED);
}
public TooltipInfo(String tooltip) {