From f236ae6cb39cd9efacc6be5bc47798019941e143 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 14 Jun 2005 15:03:55 +0000 Subject: [PATCH] if seq is null, dont check pdb --- src/jalview/gui/PopupMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 6a36fb3..828bbe8 100755 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -96,7 +96,7 @@ public class PopupMenu e.printStackTrace(); } - if(seq.getPDBId()==null) + if(seq==null || seq.getPDBId()==null) pdbMenuItem.setVisible(false); SequenceGroup sg = ap.av.getSelectionGroup(); -- 1.7.10.2