Public get methods
authoramwaterhouse <Andrew Waterhouse>
Wed, 5 Apr 2006 15:52:56 +0000 (15:52 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 5 Apr 2006 15:52:56 +0000 (15:52 +0000)
src/jalview/gui/AnnotationColourChooser.java

index 0209d76..0b6f8d8 100755 (executable)
@@ -49,7 +49,8 @@ public class AnnotationColourChooser
       for (int g = 0; g < allGroups.size(); g++)\r
       {\r
         sg = (SequenceGroup) allGroups.get(g);\r
-        oldgroupColours.put(sg, sg.cs);\r
+        if(sg.cs!=null)\r
+          oldgroupColours.put(sg, sg.cs);\r
       }\r
     }\r
     this.av = av;\r