From: hansonr Date: Mon, 23 Sep 2019 12:26:22 +0000 (-0400) Subject: JAL-3436 file...reload not working. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4d26a3ea186eb9d0fedea47ffe6817eeeacf7ed6;p=jalview.git JAL-3436 file...reload not working. File.isDirectory() returns true in SwingJS. --- diff --git a/src/jalview/io/FileParse.java b/src/jalview/io/FileParse.java index 13c0f43..f2a797c 100755 --- 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.