From: amwaterhouse Date: Wed, 5 Apr 2006 15:52:56 +0000 (+0000) Subject: Public get methods X-Git-Tag: Release_2_08~53 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7f70774817cb744dea926205d2d9c2e7f381e827;p=jalview.git Public get methods --- diff --git a/src/jalview/gui/AnnotationColourChooser.java b/src/jalview/gui/AnnotationColourChooser.java index 0209d76..0b6f8d8 100755 --- a/src/jalview/gui/AnnotationColourChooser.java +++ b/src/jalview/gui/AnnotationColourChooser.java @@ -49,7 +49,8 @@ public class AnnotationColourChooser for (int g = 0; g < allGroups.size(); g++) { sg = (SequenceGroup) allGroups.get(g); - oldgroupColours.put(sg, sg.cs); + if(sg.cs!=null) + oldgroupColours.put(sg, sg.cs); } } this.av = av;