fix for JAL-1387
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 8 Oct 2013 13:33:53 +0000 (14:33 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 8 Oct 2013 13:33:53 +0000 (14:33 +0100)
src/jalview/appletgui/APopupMenu.java

index c71818e..70804f6 100755 (executable)
@@ -166,7 +166,7 @@ public class APopupMenu extends java.awt.PopupMenu implements
       displayNonconserved.setState(sg.getShowNonconserved());
       if (!ap.av.getAlignment().getGroups().contains(sg))
       {
-        groupMenu.remove(unGroupMenuItem);
+        menu1.remove(unGroupMenuItem);
       }
 
     }