From 05ee9b8a1231e97526fb103b9d1eb469a034766e Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 4 Nov 2008 11:27:34 +0000 Subject: [PATCH] application specific validIOformat method --- src/jalview/gui/AlignFrame.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.2