Any dialog I attempt to create using Dialog Toolkit 1.1.0 has a problem with the buttons: the order of the values returned of the buttons is the reverse of the order of the buttons themselves.
For example, the provided example script ‘Simple sample.scpt’ has buttons, in order, ‘OK’, ‘Five’, ‘Four’, ‘Three’, ‘Two’, ‘One’, and ‘Cancel’. Pressing ‘OK’ returns the value ‘Cancel’, ‘Five’ returns ‘One’, ‘Four’ returns ‘Two’ and so on.
What’s causing this, and how do I stop it?