From 9e24e93d8c54bbfdaac1404e856a9d31ceed0fd2 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 4 May 2007 13:33:15 +0000 Subject: [PATCH] lastCommand check --- src/jalview/appletgui/AppletJmol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/appletgui/AppletJmol.java b/src/jalview/appletgui/AppletJmol.java index 538d177..f873230 100644 --- a/src/jalview/appletgui/AppletJmol.java +++ b/src/jalview/appletgui/AppletJmol.java @@ -550,7 +550,7 @@ public class AppletJmol extends Frame } } - if (lastCommand != null && !lastCommand.equals(command.toString())) + if (lastCommand == null || !lastCommand.equals(command.toString())) viewer.evalStringQuiet(command.toString()); lastCommand = command.toString(); -- 1.7.10.2