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:
4104a25
)
adds File..Load Project file for JS
author
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Thu, 24 Jan 2019 13:13:30 +0000
(07:13 -0600)
committer
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Thu, 24 Jan 2019 13:13:30 +0000
(07:13 -0600)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
144cdd0
..
f1b8025
100644
(file)
--- a/
src/jalview/gui/Desktop.java
+++ b/
src/jalview/gui/Desktop.java
@@
-1748,7
+1748,7
@@
public class Desktop extends jalview.jbgui.GDesktop
{
File selectedFile = chooser.getSelectedFile();
setProjectFile(selectedFile);
- final String choice = selectedFile.getAbsolutePath();
+ String choice = selectedFile.getAbsolutePath();
Cache.setProperty("LAST_DIRECTORY", selectedFile.getParent());
new Thread(new Runnable()
{
@@
-1762,7
+1762,7
@@
public class Desktop extends jalview.jbgui.GDesktop
}
else
{
- new jalview.project.Jalview2XML().loadJalviewAlign(choice);
+ new jalview.project.Jalview2XML().loadJalviewAlign(selectedFile);
}
} catch (OutOfMemoryError oom)
{