From a02b6ca8444260bee8a15204345fa3cddf54df0e Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 10 Aug 2006 14:57:13 +0000 Subject: [PATCH] group.getSize should be ab.alignment.getGroups --- src/jalview/appletgui/SeqCanvas.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/appletgui/SeqCanvas.java b/src/jalview/appletgui/SeqCanvas.java index e947f7a..48ca5d2 100755 --- a/src/jalview/appletgui/SeqCanvas.java +++ b/src/jalview/appletgui/SeqCanvas.java @@ -629,7 +629,7 @@ public class SeqCanvas int ex = -1; int groupIndex = -1; - if ( (group == null) && (group.getSize(false) > 0)) + if ( (group == null) && (av.alignment.getGroups().size() > 0)) { group = (SequenceGroup) av.alignment.getGroups().elementAt(0); groupIndex = 0; -- 1.7.10.2