From: amwaterhouse Date: Wed, 5 Apr 2006 16:40:20 +0000 (+0000) Subject: Maintain feature order X-Git-Tag: Release_2_08~51 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=15ade8926ea520ead84b0dd75c6a3aaac7368bc5;p=jalview.git Maintain feature order --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index db60b8b..d652da2 100755 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -506,18 +506,18 @@ public class Jalview2XML jalview.schemabinding.version2.FeatureSettings fs = new jalview.schemabinding.version2.FeatureSettings(); - Enumeration e = af.alignPanel.seqPanel.seqCanvas.getFeatureRenderer().featureColours.keys(); - while (e.hasMoreElements()) + String [] renderOrder = + af.alignPanel.seqPanel.seqCanvas.getFeatureRenderer().renderOrder; + for(int ro=0; ro