From: amwaterhouse Date: Wed, 9 Aug 2006 08:50:57 +0000 (+0000) Subject: Make sure link menu is displayed X-Git-Tag: Release_2_1~139 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=296c1e9566afbeaf33a813f64eef7aab85e2632b;p=jalview.git Make sure link menu is displayed --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 803f41a..23d04b7 100755 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -353,7 +353,10 @@ public class PopupMenu extends JPopupMenu linkMenu.add(item); } - sequenceMenu.add(linkMenu); + if(sequence!=null) + sequenceMenu.add(linkMenu); + else + add(linkMenu); } }