Output from newick menu item bug fixed
authoramwaterhouse <Andrew Waterhouse>
Fri, 2 Dec 2005 17:06:51 +0000 (17:06 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 2 Dec 2005 17:06:51 +0000 (17:06 +0000)
src/jalview/appletgui/TreePanel.java

index 6eeb3d8..99ad412 100755 (executable)
@@ -33,7 +33,6 @@ public class TreePanel extends Frame
   SequenceI[] seq;\r
   String type;\r
   String pwtype;\r
-  AlignmentPanel ap;\r
   int start;\r
   int end;\r
   TreeCanvas treeCanvas;\r
@@ -168,7 +167,7 @@ public class TreePanel extends Frame
   {\r
     jalview.io.NewickFile fout = new jalview.io.NewickFile(tree.getTopNode());\r
     String output = fout.print(false, true);\r
-    CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame.applet);\r
+    CutAndPasteTransfer cap = new CutAndPasteTransfer(false, null);\r
     cap.setText(output);\r
     java.awt.Frame frame = new java.awt.Frame();\r
     frame.add(cap);\r