Skip to content

Commit

Permalink
Added null check to tooltip text
Browse files Browse the repository at this point in the history
Solves bug 2031
  • Loading branch information
Arvid Berg committed Jun 29, 2010
1 parent aabe7ac commit 29c8242
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ protected String getText( Event event ) {
atomType); atomType);
}else { }else {
String text = rmodel.getToolTipText( atom ); String text = rmodel.getToolTipText( atom );
return text.length()!=0?text:null; return text!=null&&text.length()!=0?text:null;
} }
} }
} }
Expand Down

0 comments on commit 29c8242

Please sign in to comment.