JAL-1824 corrected copy'n'paste error introduced from JAL-1821 refactor which causes...
[jalview.git] / src / jalview / gui / AlignViewport.java
index cf82bfe..c18c989 100644 (file)
@@ -799,7 +799,7 @@ public class AlignViewport extends AlignmentViewport implements
      * If any cDNA/protein mappings can be made between the alignments, offer to
      * open a linked alignment with split frame option.
      */
-    if (Cache.getDefault(Preferences.ENABLE_SPLIT_FRAME, false))
+    if (Cache.getDefault(Preferences.ENABLE_SPLIT_FRAME, true))
     {
       if (AlignmentUtils.isMappable(al, getAlignment()))
       {
@@ -909,6 +909,7 @@ public class AlignViewport extends AlignmentViewport implements
 
     if (openSplitPane)
     {
+      al.alignAs(thisAlignment);
       protein = openSplitFrame(newAlignFrame, thisAlignment,
               protein.getCodonFrames());
     }