From: Jim Procter Date: Tue, 24 Oct 2017 14:03:03 +0000 (+0100) Subject: JAL-2541 don’t need to trash the sequence features on the old dataset sequence X-Git-Tag: Release_2_11_1_0~98^2~23^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=12c74aaf0a9c5764edc26fccbfc1b912754fca8d;p=jalview.git JAL-2541 don’t need to trash the sequence features on the old dataset sequence --- diff --git a/src/jalview/commands/EditCommand.java b/src/jalview/commands/EditCommand.java index 8c53128..2d27f4b 100644 --- a/src/jalview/commands/EditCommand.java +++ b/src/jalview/commands/EditCommand.java @@ -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) {