FileFormatI further tweaks, clean compile
[jalview.git] / src / jalview / io / JalviewFileChooser.java
index a4362dc..7e1aaa1 100755 (executable)
@@ -241,6 +241,7 @@ public class JalviewFileChooser extends JFileChooser
     }
 
     String format = getFileFilter().getDescription();
+    format = format.substring(0, format.indexOf("(") - 1);
     return FileFormat.valueOf(format);
   }