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:
f160337
)
JAL-1524 fix
author
Jim Procter
<jprocter@dundee.ac.uk>
Thu, 12 Jun 2014 10:40:15 +0000
(11:40 +0100)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Thu, 12 Jun 2014 10:40:15 +0000
(11:40 +0100)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
67bc00f
..
e2b6536
100644
(file)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-478,7
+478,7
@@
public class PopupMenu extends JPopupMenu
{
Vector<PDBEntry> pes = (Vector<PDBEntry>) sq.getDatasetSequence()
.getPDBId();
- if (pes != null)
+ if (pes != null && pes.size()>0)
{
reppdb.put(pes.get(0).getId(),pes.get(0));
for (PDBEntry pe : pes)