Allow removal of colour when deleting groups
authoramwaterhouse <Andrew Waterhouse>
Mon, 24 Jan 2005 17:24:16 +0000 (17:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 24 Jan 2005 17:24:16 +0000 (17:24 +0000)
src/jalview/datamodel/Alignment.java

index f78f958..0875450 100755 (executable)
@@ -389,6 +389,14 @@ public class Alignment implements AlignmentI
   {\r
     groups.clear();\r
     superGroup.clear();\r
+   int i=0;\r
+    while (i < sequences.size()) {\r
+     SequenceI s = getSequenceAt(i);\r
+     s.setColor(java.awt.Color.white);\r
+     i++;\r
+   }\r
+\r
+\r
   }\r
 \r
   /**    */\r