From 58fe5637fef0936b49f1937cccd8bd83e14cd54e Mon Sep 17 00:00:00 2001 From: BobHanson Date: Tue, 2 Jun 2020 16:06:05 -0500 Subject: [PATCH] JAL-3446 from JAL-3253 AppletFormatAdapter not fixed --- src/jalview/io/AppletFormatAdapter.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/jalview/io/AppletFormatAdapter.java b/src/jalview/io/AppletFormatAdapter.java index 4916bb3..f01bfdc 100755 --- a/src/jalview/io/AppletFormatAdapter.java +++ b/src/jalview/io/AppletFormatAdapter.java @@ -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()) -- 1.7.10.2