From: BobHanson Date: Tue, 2 Jun 2020 19:36:52 +0000 (-0500) Subject: JAL-3446 I don't understand how this bug could be here. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2c66022406381fa9041d72a121ef9ee34169cb09;p=jalview.git JAL-3446 I don't understand how this bug could be here. --- 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())