JAL-1641 cherry-picked changes into develop compatible branch
[jalview.git] / src / jalview / gui / CutAndPasteTransfer.java
index 22f0a59..6511cd8 100644 (file)
@@ -23,6 +23,7 @@ package jalview.gui;
 import jalview.datamodel.Alignment;
 import jalview.io.FormatAdapter;
 import jalview.io.IdentifyFile;
+import jalview.io.JSONFile;
 import jalview.io.JalviewFileChooser;
 import jalview.io.JalviewFileView;
 import jalview.jbgui.GCutAndPasteTransfer;
@@ -219,6 +220,11 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer
         af.statusBar.setText(MessageManager
                 .getString("label.successfully_pasted_alignment_file"));
 
+        af.setShowSeqFeatures(JSONFile.isSeqFeaturesEnabled());
+
+        af.changeColour(JSONFile.getColourScheme());
+        af.setMenusForViewport();
+
         try
         {
           af.setMaximum(jalview.bin.Cache.getDefault("SHOW_FULLSCREEN",
@@ -230,6 +236,7 @@ public class CutAndPasteTransfer extends GCutAndPasteTransfer
     }
   }
 
+
   /**
    * DOCUMENT ME!
    *