PDA

View Full Version : Keyboard.isconfirmed() issue


gangsta75
2005-08-20, 20:23
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

Asteron
2005-08-23, 04:13
are you referring to a usb keyboard or just the virtual one? i can't really tell.

gangsta75
2005-08-23, 22:19
i'm referring to the virtual one.

gangsta75

gangsta75
2005-08-31, 19:08
i'm quite sure it's a bug of python library hooks to keyboard.

anyone can confirm it giving a try?

tnx

g.