If I tick 'prompt on exit',close preferances and click the X, it does ask if I want to exit YES/NO
If I open preferances after that the tick is gone.
It appears to me the problem is when the code for the preferances dialog is not reading the current state of that setting.
It does store it properly when preferances is closed.
Thanks for looking at this. Overall amule is great, this isn't an important bug.