summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-06-28 21:02:55 +0300
committerArtur Signell <artur@vaadin.com>2012-06-28 21:02:55 +0300
commit9d4289ea256db682a6c4f85daf033fdb9522cc03 (patch)
tree07b003ec5cb6202e8e189516b66fb86edbbc3136
parent4402fd86495e703c00e949ca49d9799085432d46 (diff)
downloadvaadin-framework-9d4289ea256db682a6c4f85daf033fdb9522cc03.tar.gz
vaadin-framework-9d4289ea256db682a6c4f85daf033fdb9522cc03.zip
Fixed check for empty error message in tooltip (#8425)
-rw-r--r--src/com/vaadin/terminal/gwt/client/TooltipInfo.java2
1 files changed, 1 insertions, 1 deletions
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) {