-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add warnings and volatile flag to settings
This adds two functions for settings. A warning message can be added, which will either always be displayed to the user when they change the value, or only when they change it away from some default. They are given the opportunity to cancel the change if the warning makes them reconsider. Also, a setting can be marked "volatile" which will cause the settings tab to be fully reloaded when it has been changed. This resets the view as well, so it's not ideal, but this can be used when one setting necessarily impacts another. Fixes #10695
- Loading branch information
Showing
19 changed files
with
505 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.