Keyboard.isconfirmed() issue
#1
Star 
hi there,
i have a little problem on these lines of my script (xel.icio.us)
defaulttags="test"
keyboard = xbmc.keyboard(defaulttags)
keyboard.domodal()
if (keyboard.isconfirmed()):
if delicious.add(....):
dialog.ok("message","operation successful")
else: dialog.ok("warning","operation not completed")
else:return

it seems that when i confirm on keyboard (enter) without any change of the text ,it goes to the else:return line.
if i simply add a space ,everything works.

thank u for all, python on xbmc is simply terrific.

gangsta75
Reply
#2
are you referring to a usb keyboard or just the virtual one? i can't really tell.
Reply
#3
i'm referring to the virtual one.

gangsta75
Reply
#4
i'm quite sure it's a bug of python library hooks to keyboard.

anyone can confirm it giving a try?

tnx

g.
Reply

Logout Mark Read Team Forum Stats Members Help
Keyboard.isconfirmed() issue0