On Wed, May 19, 2010 at 9:39 PM, Kent Tenney <[email protected]> wrote: > Howdy, > > I'm running the following code via <ctl-b> in a node: > > from leo.core import leoBridge > bridge = leoBridge.controller(gui='nullGui', verbose=False) > bridge.loadPlugins = False > bridge.readSettings = False > c = bridge.openLeoFile('myLeoSettings.leo')
Interesting. You've managed to mix the qtGui and the nullGui. It's not clear that simply defining the missing onDeactivateEvent method in the nullGui class will suffice: after all, it's being called from qtGui.eventFilter! I suppose I could say that running the bridge from Leo is the problem. You don't need the bridge inside Leo, usually. Why did you want to run this code? Edward -- 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.
