Skip to content

Commit

Permalink
SwingMessageWidget: fix label detection
Browse files Browse the repository at this point in the history
Thanks to Jan Eglinger for noticing my mistake.
  • Loading branch information
ctrueden committed Aug 25, 2015
1 parent 84c30c0 commit dec7922
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -61,7 +61,7 @@ public String getValue() {
@Override
public boolean isLabeled() {
final String l = get().getItem().getLabel();
return l == null || l.isEmpty();
return l != null && !l.isEmpty();
}

@Override
Expand Down

0 comments on commit dec7922

Please sign in to comment.