From cbfd8fe1ba98fcb8d42c731214519cada9c5c23a Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 20 Dec 2018 11:46:25 +0000 Subject: [PATCH] JAL-3171 JAL-3063 merge updates from JAL-1767 --- src/jalview/gui/Jalview2XML.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 42760f3..7cfaa7d 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -1155,7 +1155,7 @@ public class Jalview2XML tree.setXpos(tp.getX()); tree.setYpos(tp.getY()); tree.setId(makeHashCode(tp, null)); - tree.setLinkToAllViews(tp.treeCanvas.applyToAllViews); + tree.setLinkToAllViews(tp.getTreeCanvas().applyToAllViews); jms.addTree(tree); } } @@ -4020,7 +4020,7 @@ public class Jalview2XML tp.showDistances(tree.getShowDistances()); tp.getTreeCanvas().setThreshold(tree.getThreshold()); - tp.treeCanvas.applyToAllViews = tree.isLinkToAllViews(); + tp.getTreeCanvas().applyToAllViews = tree.isLinkToAllViews(); if (tree.getCurrentTree()) { -- 1.7.10.2