JAL-1152 annotation sorting preferences and help documentation
[jalview.git] / src / jalview / gui / AlignViewport.java
index d331e82..a738991 100644 (file)
@@ -366,9 +366,10 @@ public class AlignViewport extends AlignmentViewport implements
     sortByTree = Cache.getDefault("SORT_BY_TREE", false);
     followSelection = Cache.getDefault("FOLLOW_SELECTIONS", true);
     sortAnnotationsBy = SequenceAnnotationOrder.valueOf(Cache.getDefault(
-            "SORT_ANNOTATIONS", SequenceAnnotationOrder.NONE.name()));
+            Cache.SORT_ANNOTATIONS, SequenceAnnotationOrder.NONE.name()));
     showAutocalculatedAbove = Cache
-            .getDefault("SHOW_AUTOCALC_ABOVE", false);
+.getDefault(Cache.SHOW_AUTOCALC_ABOVE,
+            false);
   }
 
   /**