The script button works fine. But when I tried to create a plugin - it
gave an error:

File "C:\Python26\Lib\site-packages\Leo-4.7.1-final\leo\plugins
\ftp.py", line 55, in __init__
    g.app.gui.makeScriptButton(c,script=script,buttonText='Upload')
File "C:\Python26\Lib\site-packages\Leo-4.7.1-final\leo\plugins
\qtGui.py", line 7053, in makeScriptButton   b.configure(command=executeScriptCallback)

the upload function is not executed. Also it creates 2 upload buttons
instead of 1. Maybe, it's because I switched to Qt from Tk UI?

I created a scheme and and a leo file with code:

http://live-wtr.ru/python.zip

Please, tell me, how to proceed?

-- 
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