JAL-1152 menu tweaks plus new option to put Autocalc at top or below.
[jalview.git] / src / jalview / gui / PopupMenu.java
index 175adea..d6e370f 100644 (file)
@@ -22,8 +22,6 @@ package jalview.gui;
 
 import jalview.analysis.AAFrequency;
 import jalview.analysis.AlignmentAnnotationUtils;
-import jalview.analysis.AnnotationSorter;
-import jalview.analysis.AnnotationSorter.SortOrder;
 import jalview.analysis.Conservation;
 import jalview.commands.ChangeCaseCommand;
 import jalview.commands.EditCommand;
@@ -1901,11 +1899,6 @@ public class PopupMenu extends JPopupMenu
         copyAnn.visible = true;
       }
     }
-    // TODO: save annotation sort order on AlignViewport
-    // do sorting from AlignmentPanel.updateAnnotation()
-    new AnnotationSorter(this.ap.getAlignment()).sort(this.ap
-            .getAlignment().getAlignmentAnnotation(),
-            SortOrder.SEQUENCE_AND_TYPE);
     refresh();
   }