From 9d4289ea256db682a6c4f85daf033fdb9522cc03 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 28 Jun 2012 21:02:55 +0300 Subject: [PATCH] Fixed check for empty error message in tooltip (#8425) --- src/com/vaadin/terminal/gwt/client/TooltipInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5