From 6efee133896c4f98ffafc68cf165bfc44a596580 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 4 Apr 2006 09:31:17 +0000 Subject: [PATCH] Set current tree when ready --- src/jalview/gui/TreePanel.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/gui/TreePanel.java b/src/jalview/gui/TreePanel.java index 9c1e42e..1b01606 100755 --- a/src/jalview/gui/TreePanel.java +++ b/src/jalview/gui/TreePanel.java @@ -56,6 +56,7 @@ public class TreePanel extends GTreePanel int end; TreeCanvas treeCanvas; NJTree tree; + AlignViewport av; /** * Creates a new TreePanel object. @@ -134,6 +135,8 @@ public class TreePanel extends GTreePanel } }); + this.av = av; + TreeLoader tl = new TreeLoader(newTree); tl.start(); @@ -169,6 +172,8 @@ public class TreePanel extends GTreePanel treeCanvas.repaint(); + av.setCurrentTree(tree); + } } -- 1.7.10.2