From: amwaterhouse Date: Tue, 15 Aug 2006 12:47:04 +0000 (+0000) Subject: Correct title for sequence parameter applets X-Git-Tag: Release_2_1~51 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=76b6b31c53b099a3034e0622ec78d4c2b455a309;p=jalview.git Correct title for sequence parameter applets --- diff --git a/src/jalview/bin/JalviewLite.java b/src/jalview/bin/JalviewLite.java index f1464b6..081efa6 100755 --- a/src/jalview/bin/JalviewLite.java +++ b/src/jalview/bin/JalviewLite.java @@ -277,6 +277,7 @@ public class JalviewLite extends Applet file = _file; if(file.startsWith("PASTE")) { + file = file.substring(5); protocol = AppletFormatAdapter.PASTE; } else if(inArchive(file)) @@ -307,6 +308,8 @@ public class JalviewLite extends Applet file, embedded); + if(protocol==jalview.io.AppletFormatAdapter.PASTE) + currentAlignFrame.setTitle("Sequences from "+getDocumentBase()); initialAlignFrame = currentAlignFrame;