From: amwaterhouse Date: Mon, 24 Jan 2005 17:24:16 +0000 (+0000) Subject: Allow removal of colour when deleting groups X-Git-Tag: Release_2_0~732 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6bf0d980ff438999c4ddc535c0ff76bad2e8bde7;p=jalview.git Allow removal of colour when deleting groups --- diff --git a/src/jalview/datamodel/Alignment.java b/src/jalview/datamodel/Alignment.java index f78f958..0875450 100755 --- a/src/jalview/datamodel/Alignment.java +++ b/src/jalview/datamodel/Alignment.java @@ -389,6 +389,14 @@ public class Alignment implements AlignmentI { groups.clear(); superGroup.clear(); + int i=0; + while (i < sequences.size()) { + SequenceI s = getSequenceAt(i); + s.setColor(java.awt.Color.white); + i++; + } + + } /** */