From: BobHanson Date: Tue, 2 Jun 2020 21:06:05 +0000 (-0500) Subject: JAL-3446 from JAL-3253 AppletFormatAdapter not fixed X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=58fe5637fef0936b49f1937cccd8bd83e14cd54e;p=jalview.git JAL-3446 from JAL-3253 AppletFormatAdapter not fixed --- 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())