From: jprocter Date: Tue, 4 Nov 2008 11:27:34 +0000 (+0000) Subject: application specific validIOformat method X-Git-Tag: Jalview_2_4_0b2~46 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=05ee9b8a1231e97526fb103b9d1eb469a034766e;p=jalview.git application specific validIOformat method --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 7adbd07..8adcb0d 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -699,8 +699,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, public void save_actionPerformed(ActionEvent e) { if (fileName == null - || (currentFileFormat == null || jalview.io.AppletFormatAdapter - .isValidFormat(currentFileFormat, true)) + || (currentFileFormat == null + || !jalview.io.FormatAdapter.isValidIOFormat(currentFileFormat, true)) || fileName.startsWith("http")) { saveAs_actionPerformed(null);