From 6cf4394cc9b564af6f273c5105b77666bd5b259e Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 8 Dec 2005 16:18:10 +0000 Subject: [PATCH] If dataset seq exists for paste to existing alignment, make a ref --- src/jalview/gui/AlignFrame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index e75b535..67257ff 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -844,6 +844,8 @@ public class AlignFrame newseq.setDatasetSequence(ds); viewport.alignment.getDataset().addSequence(ds); } + else + newseq.setDatasetSequence(sequences[i].getDatasetSequence()); } viewport.setEndSeq(viewport.alignment.getHeight()); -- 1.7.10.2