JAL-2541 don’t need to trash the sequence features on the old dataset sequence
authorJim Procter <jprocter@issues.jalview.org>
Tue, 24 Oct 2017 14:03:03 +0000 (15:03 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 24 Oct 2017 14:03:03 +0000 (15:03 +0100)
src/jalview/commands/EditCommand.java

index 8c53128..2d27f4b 100644 (file)
@@ -556,10 +556,6 @@ public class EditCommand implements CommandI
               command.oldds = new SequenceI[command.seqs.length];
             }
             command.oldds[i] = oldds;
-            if (oldds != sequence.getDatasetSequence())
-            {
-              oldds.getFeatures().deleteAll();
-            }
 
             if (cutPositions != null)
             {