JAL-3081 autocalculated annotation first/last leaves others unchanged
[jalview.git] / src / jalview / appletgui / AlignmentPanel.java
index e9081b0..0eb5c88 100644 (file)
@@ -20,7 +20,6 @@
  */
 package jalview.appletgui;
 
-import jalview.analysis.AnnotationSorter;
 import jalview.api.AlignViewportI;
 import jalview.api.AlignmentViewPanel;
 import jalview.bin.JalviewLite;
@@ -911,10 +910,6 @@ public class AlignmentPanel extends Panel
   public void paintAlignment(boolean updateOverview,
           boolean updateStructures)
   {
-    final AnnotationSorter sorter = new AnnotationSorter(getAlignment(),
-            av.isShowAutocalculatedAbove());
-    sorter.sort(getAlignment().getAlignmentAnnotation(),
-            av.getSortAnnotationsBy());
     repaint();
 
     if (updateStructures)
@@ -1157,4 +1152,9 @@ public class AlignmentPanel extends Panel
 
   }
 
+  @Override
+  public void sortAnnotations(boolean autocalcOnly)
+  {
+  }
+
 }