To change the state of a setting, use the following methods:
To disable an option:
settings.disable('retries')
To enable an option:
settings.enable('retries')
Make sure the setting supports enabling/disabling (see the can_disable property in settings.options()).
can_disable
settings.options()
Last updated 8 months ago