JAL-2388 Working hidden regions hide/show in desktop
[jalview.git] / src / jalview / datamodel / VisibleColsIterator.java
index 2ab61ff..70de1e3 100644 (file)
@@ -48,7 +48,7 @@ public class VisibleColsIterator implements Iterator<Integer>
     last = lastcol;
     current = firstcol;
     next = firstcol;
-    hidden = hiddenCols.getListOfCols();
+    hidden = hiddenCols.getHiddenRegions();
     lasthiddenregion = -1;
 
     if (hidden != null)