From 6834a636a0b72693041e2f1090c1123f215c9ec1 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 21 Nov 2006 17:25:44 +0000 Subject: [PATCH] Get alignPanel from treeCanvas --- src/jalview/gui/FontChooser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/gui/FontChooser.java b/src/jalview/gui/FontChooser.java index 87edfec..16d1f55 100755 --- a/src/jalview/gui/FontChooser.java +++ b/src/jalview/gui/FontChooser.java @@ -50,6 +50,7 @@ public class FontChooser extends GFontChooser public FontChooser(TreePanel tp) { this.tp = tp; + ap = tp.treeCanvas.ap; oldFont = tp.getTreeFont(); defaultButton.setVisible(false); init(); -- 1.7.10.2