JAL-2964 missed branch for restore link tree to all views
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 15 Mar 2019 14:57:54 +0000 (14:57 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 15 Mar 2019 14:57:54 +0000 (14:57 +0000)
src/jalview/project/Jalview2XML.java

index cf5974c..02b405e 100644 (file)
@@ -4187,10 +4187,8 @@ public class Jalview2XML
           // TODO: verify 'associate with all views' works still
           tp.getTreeCanvas().setViewport(av); // af.viewport;
           tp.getTreeCanvas().setAssociatedPanel(ap); // af.alignPanel;
-          // FIXME: should we use safeBoolean here ?
-          tp.getTreeCanvas().setApplyToAllViews(tree.isLinkToAllViews());
-
         }
+        tp.getTreeCanvas().setApplyToAllViews(tree.isLinkToAllViews());
         if (tp == null)
         {
           warn("There was a problem recovering stored Newick tree: \n"