-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add "restore defaults" buttons in Preferences #86
Comments
Agreed. This would be useful to add. NB You can manually work around restoring all defaults by via removing your ~/.viking/viking.prefs file, since this is where they are kept. Or you could remove individual lines in that file as it is just plain text. |
rnorris
added a commit
that referenced
this issue
Jun 15, 2020
Rework all preferences to use the default_value() function. Also makes it simpler to create groups of preferences as well as to reset any or all preferences.
rnorris
added a commit
that referenced
this issue
Jun 15, 2020
Button appended to each preferences group to invoke the reset. Add method to refresh widgets of the property factory, which is used just for that particular group of preferences reset. The refresh is mostly extracted from a_uibuilder_new_widget(), but ensures 0/null/blank values can be set to clear old values.
rnorris
added a commit
that referenced
this issue
Jun 15, 2020
Button only shown for the layer default edit. Reset button is inserted into dialog level as this resets all tab (groups) data. Every layer using uibuilder has a reset function added.
rnorris
added a commit
that referenced
this issue
Jun 15, 2020
Button only shown for the layer default edit. Reset button is inserted into dialog level as this resets all tab (groups) data. Every layer using uibuilder has a reset function added.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yup, all of them need a "restore defaults" button at bottom.
In fact there also needs to be a master "restore defaults" button at the
bottom of just
Edit > Preferences
too.The text was updated successfully, but these errors were encountered: