JAL-3171 JAL-3063 merge updates from JAL-1767
authorJim Procter <jprocter@issues.jalview.org>
Thu, 20 Dec 2018 11:46:25 +0000 (11:46 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 20 Dec 2018 11:47:01 +0000 (11:47 +0000)
src/jalview/gui/Jalview2XML.java

index 42760f3..7cfaa7d 100644 (file)
@@ -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())
         {