From: amwaterhouse Date: Fri, 4 May 2007 13:33:15 +0000 (+0000) Subject: lastCommand check X-Git-Tag: Release_2_3~60 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9e24e93d8c54bbfdaac1404e856a9d31ceed0fd2;p=jalview.git lastCommand check --- 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();