JAL-3081 autocalculated annotation first/last leaves others unchanged
[jalview.git] / src / jalview / project / Jalview2XML.java
index e15bb1a..c017d11 100644 (file)
@@ -4029,6 +4029,7 @@ public class Jalview2XML
     {
       af = loadViewport(file, jseqs, hiddenSeqs, al, jalviewModel, view,
               uniqueSeqSetId, viewId, autoAlan);
+      // TODO resort annotations here to their order in the project?
       av = af.getViewport();
       ap = af.alignPanel;
     }
@@ -5196,7 +5197,7 @@ public class Jalview2XML
       // recompute any autoannotation
       af.alignPanel.updateAnnotation(false, true);
       reorderAutoannotation(af, al, autoAlan);
-      af.sortAnnotations();
+      af.sortAnnotations(false);
       af.alignPanel.alignmentChanged();
     }
     else