JAL-3199 sort annotations after adding from annotation file
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 14 Nov 2019 15:03:16 +0000 (15:03 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 14 Nov 2019 15:03:16 +0000 (15:03 +0000)
src/jalview/gui/AlignFrame.java

index 1b1178f..63c0890 100644 (file)
@@ -4691,7 +4691,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
       }
       if (isAnnotation)
       {
-
+        alignPanel.sortAnnotations();
         alignPanel.adjustAnnotationHeight();
         viewport.updateSequenceIdColours();
         buildSortByAnnotationScoresMenu();