group.getSize should be ab.alignment.getGroups
authoramwaterhouse <Andrew Waterhouse>
Thu, 10 Aug 2006 14:57:13 +0000 (14:57 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 10 Aug 2006 14:57:13 +0000 (14:57 +0000)
src/jalview/appletgui/SeqCanvas.java

index e947f7a..48ca5d2 100755 (executable)
@@ -629,7 +629,7 @@ public class SeqCanvas
      int ex = -1;\r
      int groupIndex = -1;\r
 \r
-     if ( (group == null) && (group.getSize(false) > 0))\r
+     if ( (group == null) && (av.alignment.getGroups().size() > 0))\r
      {\r
        group = (SequenceGroup) av.alignment.getGroups().elementAt(0);\r
        groupIndex = 0;\r