git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abf6b0a
)
JAL-2744 handle null features list
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 4 Oct 2017 10:29:03 +0000
(11:29 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 4 Oct 2017 10:29:03 +0000
(11:29 +0100)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
b574ddd
..
8e9bade
100644
(file)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-528,7
+528,7
@@
public class PopupMenu extends JPopupMenu implements ColourChangeListener
*/
protected void addFeatureDetails(List<SequenceFeature> features)
{
- if (features.isEmpty())
+ if (features == null || features.isEmpty())
{
return;
}