From: jprocter Date: Mon, 30 Apr 2007 13:50:33 +0000 (+0000) Subject: rebuild sort by scores menu when new annotation is available X-Git-Tag: Release_2_3~107 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4ab604448cf2d6f3af25ba89aba8e7d576949276;p=jalview.git rebuild sort by scores menu when new annotation is available --- 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(); } }