From f300e30df117ff4be7d1df5c781161efd0285e5f Mon Sep 17 00:00:00 2001 From: hansonr Date: Tue, 15 Oct 2019 05:06:42 -0400 Subject: [PATCH] JAL-3437 Desktop File...Load Project fails in JalviewJS - just needed to use the File object rather than the file name in the call to Jalview2XML.loadJalviewAlign --- src/jalview/gui/Desktop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 1899bd3..8b12ca8 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -1873,7 +1873,7 @@ public class Desktop extends GDesktop { try { - new Jalview2XML().loadJalviewAlign(choice); + new Jalview2XML().loadJalviewAlign(selectedFile); } catch (OutOfMemoryError oom) { new OOMWarning("Whilst loading project from " + choice, oom); -- 1.7.10.2