Custom_on options cannot be disabled
BastienClement opened this issue ยท 0 comments
Since the master toggle in the option window is a tristate, clicking on the checkbox sets it to nil
.
On line 309, you are simply assigning module.db.profile[key] = value
which, in case of toggling the option off, is nil
not false
. Next time the interface is reloaded, the key seems missing from the db and the option resets to enabled (its default state).