2016-04-30, 09:03
The addon settings screen always has "OK", "Cancel", and "Defaults" buttons across the bottom. I'd like to have my addon do some extra work when the "Defaults" button is pressed - is that possible?
Background: My addon stores some state information in a .json file in its profile directory. I'd like to reset this data to default values at the same time all the other settings get reset.
Background: My addon stores some state information in a .json file in its profile directory. I'd like to reset this data to default values at the same time all the other settings get reset.