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:
17c13e6
)
Check if filefilter is null
author
amwaterhouse
<Andrew Waterhouse>
Thu, 22 Sep 2005 13:21:51 +0000
(13:21 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 22 Sep 2005 13:21:51 +0000
(13:21 +0000)
src/jalview/io/JalviewFileChooser.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/JalviewFileChooser.java
b/src/jalview/io/JalviewFileChooser.java
index
7fffb80
..
33d18a3
100755
(executable)
--- a/
src/jalview/io/JalviewFileChooser.java
+++ b/
src/jalview/io/JalviewFileChooser.java
@@
-94,6
+94,11
@@
public class JalviewFileChooser
\r
public String getSelectedFormat()
\r
{
\r
+ if(getFileFilter()==null)
\r
+ {
\r
+ return null;
\r
+ }
\r
+
\r
String format = getFileFilter().getDescription();
\r
\r
if (format.toUpperCase().startsWith("JALVIEW"))
\r