Added hooke.plugin.playlist.ApplyCommandStack and related changes.
[hooke.git] / hooke / ui / gui / __init__.py
index f8851774b06fee9ebb248816fb0c902fc6285c4d..38ba9274308bf5c6ee1ce2d77b0c874db1005fb6 100644 (file)
@@ -335,8 +335,9 @@ class HookeFrame (wx.Frame):
                         args[arg.name].pop()
                     if len(args[arg.name]) == 0:
                         args[arg.name] = arg.default
-        self.log.debug('executing %s with %s' % (command.name, args))
-        self.inqueue.put(CommandMessage(command.name, args))
+        cm = CommandMessage(self.command.name, args)
+        self.log.debug('executing %s' % cm)
+        self.inqueue.put(cm)
         results = []
         while True:
             msg = self.outqueue.get()