Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added null check to tooltip text

Solves bug 2031
  • Loading branch information...
commit 29c8242ed82a5f96ff38e77fc74d5a148dd180a8 1 parent aabe7ac
Arvid Berg authored
View
2  ...lipse.cdk.jchempaint/src/net/bioclipse/cdk/jchempaint/widgets/JChemPaintEditorWidget.java
@@ -289,7 +289,7 @@ protected String getText( Event event ) {
atomType);
}else {
String text = rmodel.getToolTipText( atom );
- return text.length()!=0?text:null;
+ return text!=null&&text.length()!=0?text:null;
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.