When a ToRadioButton is used in a ToCheckableGroup this is not possible to change the dresser without lost the link between the group and the widget.
Possibility to have the same problem for ToCheckBox.
This problem appears when the option startChecked is used.
May be another observer should be added in ToCheckableGroup>>initialize for observing a specific dresser update/change of the widget and to reinstall the behavior.
Find a test in the branch https://github.com/plantec/Toplo/tree/issue28 to reproduce the problem, if you remove startChecked there is no problem : ToCheckableGroupTest>>testCheckableGroupChangeCheckBoxDresser
When a
ToRadioButton
is used in aToCheckableGroup
this is not possible to change the dresser without lost the link between the group and the widget. Possibility to have the same problem forToCheckBox
.This problem appears when the option
startChecked
is used.May be another observer should be added in
ToCheckableGroup>>initialize
for observing a specific dresser update/change of the widget and to reinstall the behavior.The lost behavior is :