fix recent file type bug
authoramwaterhouse <Andrew Waterhouse>
Wed, 25 Apr 2007 14:06:11 +0000 (14:06 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 25 Apr 2007 14:06:11 +0000 (14:06 +0000)
src/jalview/io/FileLoader.java

index 4177eab..5f53579 100755 (executable)
@@ -117,7 +117,7 @@ public class FileLoader
 \r
     jalview.bin.Cache.setProperty(type, newHistory.toString());\r
 \r
-    if (type.equals(FormatAdapter.FILE))\r
+    if (protocol.equals(FormatAdapter.FILE))\r
     {\r
       jalview.bin.Cache.setProperty("DEFAULT_FILE_FORMAT", format);\r
     }\r