From 15ade8926ea520ead84b0dd75c6a3aaac7368bc5 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 5 Apr 2006 16:40:20 +0000 Subject: [PATCH] Maintain feature order --- src/jalview/gui/Jalview2XML.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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