summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorOlli Tietäväinen <ollit@vaadin.com>2017-11-10 17:05:44 +0200
committerPéter Török <31210544+torok-peter@users.noreply.github.com>2017-11-10 17:05:44 +0200
commit81399671acfa10ff4da607b3a8aaaa7a155be972 (patch)
treebae40281742690659a530e2cdaadb92ed1a20dcf /client
parentbcdd76c6a006a8d0f27f22c6078814ff2b4b09dc (diff)
downloadvaadin-framework-81399671acfa10ff4da607b3a8aaaa7a155be972.tar.gz
vaadin-framework-81399671acfa10ff4da607b3a8aaaa7a155be972.zip
set default ContentMode PREFORMATTED in parameterless TooltipInfo constructor, fixes undefined enum value access in VTooltip.setTooltipText
Diffstat (limited to 'client')
-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 5bf3f95a17..17b29de836 100644
--- a/client/src/main/java/com/vaadin/client/TooltipInfo.java
+++ b/client/src/main/java/com/vaadin/client/TooltipInfo.java
@@ -42,6 +42,7 @@ public class TooltipInfo {
* Constructs a new tooltip info instance.
*/
public TooltipInfo() {
+ this("", ContentMode.PREFORMATTED);
}
/**