[SOLVED] QPushbutton toggle appears deactivated when focus shifts
I have a couple widgets, one of which has a QPushbutton toggle. When I click, it depresses, but when I select one of the other widgets it pops back up. The effect is only cosmetic, but a user would find it confusing. Is this a bug? Is there a workaround?
[Edit: It turns out I was using the setDown method when I ought to have been using setChecked. I hadn't realized that the "checked" flag is for all toggles, not just check boxes.]