[PyKDE] SOLVED --> Re: Failing to set the text of comboboxes
godoy at ieee.org
Tue May 17 00:55:24 BST 2005
Jorge Godoy <godoy at ieee.org> writes:
> It is all working perfectly, except that when I need to come back from the
> database to the GUI it isn't accepting the 'setCurrentText()' command. In
> fact, it accepts it, gives no error, but doesn't change the text in the
OK. I found the bug.
And it only happens when I associate the combobox with some field in the
database. If I handle everything manually without connecting the combobox to
the databrowser it works perfectly.
Four days lost on this but I hope nobody else looses more time with that :-)
I believe that if I create some PropertyMap (I believe that's the name...) and
use it instead of the default map it might work. Sometime later I'll give it
I'd also like to thank all the people that tried helping me with this problem
here on the news or with private messages, thanks guys.
So, if you can't use your comboboxes the way it is expected, remove the
references to the database and handle everything by hand.
Be seeing you,
Jorge Godoy <godoy at ieee.org>
More information about the PyQt