Addon: shutdown, enable/disable addon based on last used/triggered, vs a default restoring default on application start.
|Target version:||020 - Next Release 2.0|
Advanced option 'Shutdown: Shutdown Active' && 'Shutdown: Shutdown Active By Default'
Remove code that sets above advanced option based on application start. This doesn't work with Standby and Hibernate shutdown modes, as the application doesn't closed so it can't restore user preferences. Subsequently when you goto download again it will apply standby/hibernate again.
Make code to apply changes of settings based on last trigger vs application start.
shutdown event triggered -> time to abort shutdown expires -> change shutdown values to according to above user settings -> apply shutdown mode.