JAL-1483 remember to look at base dataset sequence for updated sequence feaures
authorJim Procter <jprocter@dundee.ac.uk>
Fri, 9 Jan 2015 11:10:40 +0000 (11:10 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Fri, 9 Jan 2015 11:10:40 +0000 (11:10 +0000)
src/jalview/renderer/seqfeatures/FeatureRenderer.java

index 909ee10..cd2a90a 100644 (file)
@@ -201,9 +201,9 @@ public class FeatureRenderer extends
     }
     else
     {
-      if (sequenceFeatures != lastSeq.getSequenceFeatures())
+      if (sequenceFeatures != aseq.getSequenceFeatures())
       {
-        sequenceFeatures = lastSeq.getSequenceFeatures();
+        sequenceFeatures = aseq.getSequenceFeatures();
         if (sequenceFeatures != null)
         {
           sfSize = sequenceFeatures.length;