]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed check for empty error message in tooltip (#8425)
authorArtur Signell <artur@vaadin.com>
Thu, 28 Jun 2012 18:02:55 +0000 (21:02 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 28 Jun 2012 18:02:55 +0000 (21:02 +0300)
src/com/vaadin/terminal/gwt/client/TooltipInfo.java

index 1ad1ea43cd498ccc2b4caa48b7127c1784f29ec3..712d2636957becf9c1c072b44e353ade69707f75 100644 (file)
@@ -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) {