JAL-1486 JAL-1543 pushed alignment viewport->view->flat file logic into jalview.io...
[jalview.git] / src / jalview / appletgui / APopupMenu.java
index d98e2aa..58c7703 100644 (file)
@@ -672,9 +672,8 @@ public class APopupMenu extends java.awt.PopupMenu implements
     // TODO consider using getSequenceSelection instead here
 
     cap.setText(new jalview.io.AppletFormatAdapter().formatSequences(
-            e.getActionCommand(),
-            new Alignment(ap.av.getSelectionAsNewSequence()),
-            ap.av.showJVSuffix));
+            e.getActionCommand(), 
+            ap.av.showJVSuffix, ap.av, true));
 
   }