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:
137cd65
)
fix for JAL-1461 - check that filetype setting in browser is non-null
author
Jim Procter
<jprocter@dundee.ac.uk>
Fri, 4 Apr 2014 15:16:58 +0000
(16:16 +0100)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Fri, 4 Apr 2014 15:16:58 +0000
(16:16 +0100)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
6715537
..
fc6d6f9
100644
(file)
--- a/
src/jalview/gui/Desktop.java
+++ b/
src/jalview/gui/Desktop.java
@@
-914,7
+914,7
@@
public class Desktop extends jalview.jbgui.GDesktop implements
.getSelectedFile().getParent());
String format = null;
- if (chooser.getSelectedFormat().equals("Jalview"))
+ if (chooser.getSelectedFormat()!=null && chooser.getSelectedFormat().equals("Jalview"))
{
format = "Jalview";
}