JAL-1499 initial tests working, can export to / import from textbox ok
[jalview.git] / src / jalview / io / AppletFormatAdapter.java
index d2d607b..4b7e26e 100755 (executable)
@@ -636,10 +636,12 @@ public class AppletFormatAdapter
       }
       else
       {
+        // MC this is pointless? Only performed if viewpanel.getAlignment() ==
+        // alignment i.e. the same case as the if condition
         afile.setSeqs(viewpanel.getAlignment().getSequencesArray());
       }
 
-      String afileresp = afile.print();
+      String afileresp = afile.print(alignment);
       if (afile.hasWarningMessage())
       {
         System.err.println("Warning raised when writing as " + format