Claudio Felix
Tue, 26 Jan 2010 14:29:33 -0800
2010/1/26 Demetrius Cassidy <dcassid...@mass.rr.com>: > How about selecting index 0 once the combobox is initialized with the > database data? It sounds to me that it has no valid index when first > initialized, and if you try to programmatically select the first index, it's > returning an invalid one. You don't need to generate a signal, just use > something like .setCurrentIndex(0). >
Thanks for the answer Demetrius. Unfortunately, it didn't change it. Maybe I do have to use a QDataWidgetMapper on the combo box? I thought just getting the model associated with it should do it.. it shows all the models' values indeed... Cheers... _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt