Merge branch 'develop' into spike/JAL-4047/JAL-4048_columns_in_sequenceID
[jalview.git] / src / jalview / gui / AssociatePdbFileWithSeq.java
index 420e2cb..c9951f5 100644 (file)
@@ -49,19 +49,20 @@ public class AssociatePdbFileWithSeq
           StructureSelectionManagerProvider ssmp)
   {
     return associatePdbWithSeq(choice, file, sequence, prompt, ssmp,
-            TFType.DEFAULT, null);
+            TFType.DEFAULT, null, true);
   }
 
   public PDBEntry associatePdbWithSeq(String choice, DataSourceType file,
           SequenceI sequence, boolean prompt,
           StructureSelectionManagerProvider ssmp, TFType tft,
-          String paeFilename)
+          String paeFilename, boolean doXferSettings)
   {
     PDBEntry entry = new PDBEntry();
     StructureFile pdbfile = StructureSelectionManager
             .getStructureSelectionManager(ssmp)
             .setMapping(false, new SequenceI[]
-            { sequence }, null, choice, file, tft, paeFilename);
+            { sequence }, null, choice, file, tft, paeFilename,
+                    doXferSettings);
     if (pdbfile == null)
     {
       // stacktrace already thrown so just return