From: amwaterhouse Date: Thu, 8 Dec 2005 16:18:10 +0000 (+0000) Subject: If dataset seq exists for paste to existing alignment, make a ref X-Git-Tag: Release_2_07~24 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6cf4394cc9b564af6f273c5105b77666bd5b259e;p=jalview.git If dataset seq exists for paste to existing alignment, make a ref --- 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());