JAL-2541 don’t need to trash the sequence features on the old dataset sequence
[jalview.git] / 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)
             {