From 76b6b31c53b099a3034e0622ec78d4c2b455a309 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 15 Aug 2006 12:47:04 +0000 Subject: [PATCH] Correct title for sequence parameter applets --- src/jalview/bin/JalviewLite.java | 3 +++ 1 file changed, 3 insertions(+) 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; -- 1.7.10.2