From bf20aa0990d796221a6b9d7f6fd42ee0ff675ad8 Mon Sep 17 00:00:00 2001 From: tcarver <tjc> Date: Thu, 8 Sep 2011 11:34:32 +0100 Subject: [PATCH] fix for cloned BamView windows to have independent list of BAM files --- uk/ac/sanger/artemis/components/alignment/BamView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uk/ac/sanger/artemis/components/alignment/BamView.java b/uk/ac/sanger/artemis/components/alignment/BamView.java index dc6fd35b1..e5a7b640f 100644 --- a/uk/ac/sanger/artemis/components/alignment/BamView.java +++ b/uk/ac/sanger/artemis/components/alignment/BamView.java @@ -2400,7 +2400,8 @@ public class BamView extends JPanel { public void actionPerformed(ActionEvent e) { - BamView bamView = new BamView(bamList, null, nbasesInView, entry_edit, + BamView bamView = new BamView(new Vector<String>(bamList), + null, nbasesInView, entry_edit, feature_display, bases, (JPanel) mainPanel.getParent(), null); bamView.getJspView().getVerticalScrollBar().setValue( bamView.getJspView().getVerticalScrollBar().getMaximum()); -- GitLab