hsarkanen / JollaOpas

Jolla Opas
GNU General Public License v3.0
4 stars 4 forks source link

[request] Reset/restore defaults in settings #27

Closed bitbooster closed 4 years ago

bitbooster commented 4 years ago

Feature request: I'd like if somehow the settings page would remember the last confirmed values (from previous usage) or at least it would allow to reset values to default. Reason: sometimes I go to settings to change some parameter but accidentally I touch a different slider than the one I'm interested to, and especially with the ones related to Change Margin/Reluctance, I don't remember how they were set (as those values are not very intuitive).

I'm not exactly sure how to implement that in a way that doesn't require too much extra code or clutter the UI, but maybe a couple of options could be:

hsarkanen commented 4 years ago

In the current implementation any history values of settings are not available since the value is overwritten every time a setting is changed e.g. slider is moved. Saving multiple versions of one setting value would be more complicated to implement and make understandable user interface for so I just implemented resetting the default values.