JAL-845 handling eXpand/Gather split frame views
[jalview.git] / src / jalview / gui / VamsasApplication.java
index a9fa009..04cc9e3 100644 (file)
@@ -1055,8 +1055,9 @@ public class VamsasApplication implements SelectionSource, VamsasSource
                   {
                     // gather selected columns outwith the sequence positions
                     // too
-                    for (int ival : colsel.getSelected())
+                    for (Object obj : colsel.getSelected())
                     {
+                      int ival = ((Integer) obj).intValue();
                       Pos p = new Pos();
                       p.setI(ival + 1);
                       range.addPos(p);