From a55e4576868379847eebc4f5741ae24a48ef2476 Mon Sep 17 00:00:00 2001 From: James Procter Date: Thu, 22 Jun 2023 17:39:34 +0200 Subject: [PATCH] =?utf8?q?JAL-4213=20don=E2=80=99t=20pass=20active=20selecti?= =?utf8?q?on=20when=20actioning=20the=20addReferenceAnnotation?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/gui/PopupMenu.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); } -- 1.7.10.2