From: Artur Signell Date: Thu, 28 Jun 2012 18:02:55 +0000 (+0300) Subject: Fixed check for empty error message in tooltip (#8425) X-Git-Tag: 7.0.0.alpha3~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9d4289ea256db682a6c4f85daf033fdb9522cc03;p=vaadin-framework.git Fixed check for empty error message in tooltip (#8425) --- diff --git a/src/com/vaadin/terminal/gwt/client/TooltipInfo.java b/src/com/vaadin/terminal/gwt/client/TooltipInfo.java index 1ad1ea43cd..712d263695 100644 --- a/src/com/vaadin/terminal/gwt/client/TooltipInfo.java +++ b/src/com/vaadin/terminal/gwt/client/TooltipInfo.java @@ -45,7 +45,7 @@ public class TooltipInfo { */ public boolean hasMessage() { return (title != null && !title.isEmpty()) - || (errorMessageHtml != null && errorMessageHtml.isEmpty()); + || (errorMessageHtml != null && !errorMessageHtml.isEmpty()); } public boolean equals(TooltipInfo other) {