The following condition in the doCommand method is triggered and I
cannot see the reason.


        if c.exists and c.inCommand and not g.unitTesting:
            g.trace('inCommand',c)
            g.app.commandInterruptFlag = True
            g.es('ignoring command: already executing a
command.',color='red')
            return # (for Tk) 'break'

I have a perfectly good command (created in a plugin) that works from
the mini-buffer and as a button, but when called by a short-cut
(assigned in the settings file) it triggers this condition.  What am I
missing?

When I comment out the condition everything seems to work.

Thanks,

rhh

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to