From 7f70774817cb744dea926205d2d9c2e7f381e827 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 5 Apr 2006 15:52:56 +0000 Subject: [PATCH] Public get methods --- src/jalview/gui/AnnotationColourChooser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 1.7.10.2