From 6bf0d980ff438999c4ddc535c0ff76bad2e8bde7 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 24 Jan 2005 17:24:16 +0000 Subject: [PATCH] Allow removal of colour when deleting groups --- src/jalview/datamodel/Alignment.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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++; + } + + } /** */ -- 1.7.10.2