From: James Procter Date: Thu, 22 Jun 2023 15:39:34 +0000 (+0200) Subject: JAL-4213 don’t pass active selection when actioning the addReferenceAnnotation X-Git-Tag: Release_2_11_4_0~254^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a55e4576868379847eebc4f5741ae24a48ef2476;p=jalview.git JAL-4213 don’t pass active selection when actioning the addReferenceAnnotation --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index be9293f..88c1292 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -1734,10 +1734,9 @@ public class PopupMenu extends JPopupMenu implements ColourChangeListener protected void addReferenceAnnotations_actionPerformed( Map> candidates) { - final SequenceGroup selectionGroup = this.ap.av.getSelectionGroup(); final AlignmentI alignment = this.ap.getAlignment(); AlignmentUtils.addReferenceAnnotations(candidates, alignment, - selectionGroup); + null); refresh(); }