PDA

View Full Version : QComboBox doesn't update when on hidden widget



martinb0820
9th December 2010, 21:25
Hi,

I'm having a strange problem with a QComboBox - I want to update the selected item using its index when the QFrame on which the QComboBox resides is hidden. This doesn't work, although the other widgets on the QFrame update fine when the QFrame isn't visible.

Maybe I'm missing something obvious...

Thanks,
Martin

martinb0820
10th December 2010, 22:09
Operator error! I wrote this code many months ago, and forgot that I reimplemented showEvent for that QFrame, and was doing something that changed the comboBox's index.