JAL-1641 round trip test/refactoring
[jalview.git] / src / jalview / io / AppletFormatAdapter.java
index 3b81e89..90400f4 100755 (executable)
@@ -519,7 +519,7 @@ public class AppletFormatAdapter
         aselview.addAnnotation(aa);
       }
     }
-
+    viewpanel = ap;
     return formatSequences(format, aselview, jvsuffix);
   }
 
@@ -600,9 +600,7 @@ public class AppletFormatAdapter
 
       afile.setNewlineString(newline);
       afile.addJVSuffix(jvsuffix);
-
       afile.setExportSettings(exportSettings);
-
       afile.configureForView(viewpanel);
 
       // check whether we were given a specific alignment to export, rather than