
Proposed patch follows.
Comments: ** Comment from web user: iainiainiain **
Thanks, that's fixed.
I found another issue when the trigger edit dialog is open:
1. Change to "At log on"
2. Click the drop down on the Activate calendar. Then cancel the popup by losing focus by e.g. clicking on the Activate checkbox.
3. Uncheck the Activate checkbox
4. Change to "On a schedule"
5. It might immediately throw an exception:
Value of '0001-01-01 00:00:00' is not valid for 'Value'. 'Value' should be between 'MinDate' and 'MaxDate'
Weirdly, this is only reproducible some of the time, maybe 1 in 5 times. And I don't even know if step 2 is necessary. I'll try to have a further look at reproducing this if you can't easily, but I might have to leave it until next week.