diff options
author | Olli Tietäväinen <ollit@vaadin.com> | 2017-11-10 17:05:44 +0200 |
---|---|---|
committer | Péter Török <31210544+torok-peter@users.noreply.github.com> | 2017-11-10 17:05:44 +0200 |
commit | 81399671acfa10ff4da607b3a8aaaa7a155be972 (patch) | |
tree | bae40281742690659a530e2cdaadb92ed1a20dcf /client | |
parent | bcdd76c6a006a8d0f27f22c6078814ff2b4b09dc (diff) | |
download | vaadin-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.java | 1 |
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); } /** |