JAL-1152 new Structure tab on Preferences for SS derivation / annotation
[jalview.git] / src / jalview / gui / AlignViewport.java
index a738991..5c383d8 100644 (file)
@@ -366,10 +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(
-            Cache.SORT_ANNOTATIONS, SequenceAnnotationOrder.NONE.name()));
-    showAutocalculatedAbove = Cache
-.getDefault(Cache.SHOW_AUTOCALC_ABOVE,
-            false);
+            Preferences.SORT_ANNOTATIONS,
+            SequenceAnnotationOrder.NONE.name()));
+    showAutocalculatedAbove = Cache.getDefault(
+            Preferences.SHOW_AUTOCALC_ABOVE, false);
   }
 
   /**