From 4ab604448cf2d6f3af25ba89aba8e7d576949276 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 30 Apr 2007 13:50:33 +0000 Subject: [PATCH] rebuild sort by scores menu when new annotation is available --- src/jalview/gui/AlignFrame.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 61c6672..b27a98e 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -142,7 +142,7 @@ public class AlignFrame } setMenusFromViewport(viewport); - + buildSortByAnnotationScoresMenu(); if (viewport.wrapAlignment) { wrapMenuItem_actionPerformed(null); @@ -1592,6 +1592,7 @@ public class AlignFrame if (annotationAdded) { alignPanel.annotationPanel.adjustPanelHeight(); + buildSortByAnnotationScoresMenu(); } viewport.firePropertyChange("alignment", null, alignment.getSequences()); } else { @@ -3674,6 +3675,7 @@ public void drop(DropTargetDropEvent evt) { // (isAnnotation) alignPanel.adjustAnnotationHeight(); + buildSortByAnnotationScoresMenu(); } } -- 1.7.10.2