Fix self.command.name -> command.name in gui.HookeFrame.execute_command
[hooke.git] / hooke / ui / gui / __init__.py
index 4c0127e8ce48b21413a3ec477c08308a2ea70b23..782691f181f8d75f57326504ca61531fa802529d 100644 (file)
@@ -335,7 +335,7 @@ class HookeFrame (wx.Frame):
                         args[arg.name].pop()
                     if len(args[arg.name]) == 0:
                         args[arg.name] = arg.default
-        cm = CommandMessage(self.command.name, args)
+        cm = CommandMessage(command.name, args)
         self.gui._submit_command(cm, self.inqueue)
         results = []
         while True: