Skip to content

Use "setChecked()" instead "click()" in align

Toni Schriber requested to merge escriban/kstars:Align_setChecked into master

The issue with saved radio buttons state in optical trains is still pending. The used "->click()" does not always trigger the toggled signal. A solution is to use "->setChecked()" instead of "->click()" at least for radiobuttons.

Link from Eric Dejouhanet: https://forum.qt.io/topic/132879/qradiobutton-calling-setchecked-doesn-t-emit-a-signal/

Edited by Toni Schriber

Merge request reports

Loading