JAL-3446 I don't understand how this bug could be here.
authorBobHanson <hansonr@stolaf.edu>
Tue, 2 Jun 2020 19:36:52 +0000 (14:36 -0500)
committerBobHanson <hansonr@stolaf.edu>
Tue, 2 Jun 2020 19:36:52 +0000 (14:36 -0500)
src/jalview/io/AppletFormatAdapter.java

index 4916bb3..f01bfdc 100755 (executable)
@@ -158,11 +158,7 @@ public class AppletFormatAdapter
   {
 
     this.selectedFile = selectedFile;
-    if (selectedFile != null)
-    {
-      this.inFile = selectedFile.getPath();
-    }
-    this.inFile = file;
+    inFile = (selectedFile == null ? file : selectedFile.getPath());
     try
     {
       if (fileFormat.isStructureFile())