diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-08-27 21:33:27 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-27 22:32:01 -0700 |
commit | 270864d073359f783fbb9cbe17c583d6b88cb8ae (patch) | |
tree | 855762e7efa34fa6176595e83b124e92756870ce /cmake/Modules/version.cmake | |
parent | c52688c528602bca5c2f29b2e4d324d5af080512 (diff) | |
download | subsurface-270864d073359f783fbb9cbe17c583d6b88cb8ae.tar.gz |
Settings update: Only set if value changed + bugfixes.
Only set the settings if it actually changes, when the user
clicked on the save button on the preferences, the code would
run in every dialog saving each preferences on disk, but this
is uneeded if the value didn't changed.
Also, while doing that, I found a couple of places where I
used the wrong field, which are now fixed.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'cmake/Modules/version.cmake')
0 files changed, 0 insertions, 0 deletions