git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c39936
)
JAL-3446 from JAL-3253 AppletFormatAdapter not fixed
author
BobHanson
<hansonr@stolaf.edu>
Tue, 2 Jun 2020 21:06:05 +0000
(16:06 -0500)
committer
BobHanson
<hansonr@stolaf.edu>
Tue, 2 Jun 2020 21:06:05 +0000
(16:06 -0500)
src/jalview/io/AppletFormatAdapter.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/AppletFormatAdapter.java
b/src/jalview/io/AppletFormatAdapter.java
index
4916bb3
..
f01bfdc
100755
(executable)
--- 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())