This is a question for the #FreeCAD #macro people: I’ve created a dialog box with 3 radio buttons. The correct default button is selected, but I can’t figure out why the first button is highlighted? I’ve been reading through the documentation for QRadiobutton, but I can’t figure out why the toggled button isn’t highlighted.
Anyone have any ideas?
@chrishuck See https://doc.qt.io/qt-6/qradiobutton-members.html (assuming FreeCAD uses Qt6 and not an older version). BTW you might want to use `setChecked` instead of `toggle` to avoid bugs in the future if you change something that will cause a button to be enabled and then `toggle` will actually disable it.