in reply to Re: How to find the selected radio button in a Loft GUI
in thread How to find the selected radio button in a Loft GUI

You've got a bug: the last statement should be inside the inner if block.