my guess is that inCommand needs to be set to False to disable locking - should I do it in the plugin or should it be handled somewhere else in the code since shortcuts are generic?
On Oct 19, 8:06 pm, rhh <[email protected]> wrote: > 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.
