JAL-2388 Working hidden regions hide/show in desktop
[jalview.git] / src / jalview / io / AnnotationFile.java
index 31aeffa..5c5fa8f 100755 (executable)
@@ -172,7 +172,7 @@ public class AnnotationFile
     if (cs != null && cs.hasHiddenColumns())
     {
       text.append("VIEW_HIDECOLS\t");
-      List<int[]> hc = cs.getListOfCols();
+      List<int[]> hc = cs.getHiddenRegions();
       boolean comma = false;
       for (int[] r : hc)
       {