From 2c66022406381fa9041d72a121ef9ee34169cb09 Mon Sep 17 00:00:00 2001 From: BobHanson Date: Tue, 2 Jun 2020 14:36:52 -0500 Subject: [PATCH] JAL-3446 I don't understand how this bug could be here. --- 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