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:
e59b544
)
JAL-3436 file...reload not working.
author
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Mon, 23 Sep 2019 12:26:22 +0000
(08:26 -0400)
committer
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Mon, 23 Sep 2019 12:26:22 +0000
(08:26 -0400)
File.isDirectory() returns true in SwingJS.
src/jalview/io/FileParse.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/FileParse.java
b/src/jalview/io/FileParse.java
index
13c0f43
..
f2a797c
100755
(executable)
--- a/
src/jalview/io/FileParse.java
+++ b/
src/jalview/io/FileParse.java
@@
-181,7
+181,7
@@
public class FileParse
errormessage = "FILE CANNOT BE OPENED FOR READING";
error = true;
}
- if (inFile.isDirectory())
+ if (!Platform.isJS() && inFile.isDirectory())
{
// this is really a 'complex' filetype - but we don't handle directory
// reads yet.