Hi
Yes, takeAt seems to be a mistake, which is easily explained. Storing the values for the radios was not implemented initially, so it might have been overlooked by me at that time, that this was not working.
For restoring, you can either adapt "setDefaultValue" to check for the stored value, or "createEditor" to set it to the restored value while creating the widget. Personally, I would adapt "setDefaultValue", as it is called after "createEditor" and therefore you avoid the setted index being overwritten.
Btw, an argument could be made for not storing the index but rather the value of the option field, due to the indices being able to change with an adapted extcap program. Personally I think, it is much more likely that the indices changed and the values remained the same, therefore this seems to be the more future-prone approach. But of course it might also be more error-prone, as you would need to make a string-compare to figure out which index to set.
cheers
Roland