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:
3889d8c
)
openjdk7 returns null for default value selected format if it hasn't been touched
author
jprocter
<jprocter@compbio.dundee.ac.uk>
Sat, 17 Nov 2012 18:47:51 +0000
(18:47 +0000)
committer
jprocter
<jprocter@compbio.dundee.ac.uk>
Sat, 17 Nov 2012 18:47:51 +0000
(18:47 +0000)
src/jalview/gui/Desktop.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Desktop.java
b/src/jalview/gui/Desktop.java
index
877aebb
..
db7c32c
100644
(file)
--- a/
src/jalview/gui/Desktop.java
+++ b/
src/jalview/gui/Desktop.java
@@
-912,7
+912,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";
}