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:
2692574
)
Check pdbid size >0
author
amwaterhouse
<Andrew Waterhouse>
Fri, 27 Apr 2007 15:32:46 +0000
(15:32 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 27 Apr 2007 15:32:46 +0000
(15:32 +0000)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
64339b3
..
d43a015
100755
(executable)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-150,7
+150,8
@@
public class PopupMenu
sequenceMenu.setText(sequence.getName());
\r
\r
JMenuItem menuItem;
\r
- if (seq.getDatasetSequence().getPDBId() != null)
\r
+ if (seq.getDatasetSequence().getPDBId() != null
\r
+ && seq.getDatasetSequence().getPDBId().size()>0)
\r
{
\r
java.util.Enumeration e = seq.getDatasetSequence().getPDBId().
\r
elements();
\r