Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset Setting to Default #5

Open
akrigline opened this issue Mar 20, 2021 · 1 comment
Open

Reset Setting to Default #5

akrigline opened this issue Mar 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@akrigline
Copy link
Member

Is your feature request related to a problem? Please describe.
It is frustrating to try testing setting defaults because as soon as the setting exists, that default is not applicable.

Describe the solution you'd like
A button which allows a given setting to be 're-set' to the default on the module settings page.

Describe alternatives you've considered
Something which allows a key to be entered or even autocompleted that would let this work for non-config-able settings.

@akrigline akrigline added the enhancement New feature or request label Mar 20, 2021
@akrigline
Copy link
Member Author

this lets you set a setting to its default:

game.settings.set('gm-screen', 'rows', game.settings.settings.get("gm-screen.rows").default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant