mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop UI: add preference for making salinity editable
Create a checkbox in the Preferences: General screen that enables or disables editing of the salinity data. This preference is saved with all the other preferences. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
95a0a0f5a6
commit
732d5a9fbd
6 changed files with 19 additions and 1 deletions
|
@ -16,6 +16,7 @@ void qPrefLog::loadSync(bool doSync)
|
|||
disk_default_file_behavior(doSync);
|
||||
disk_use_default_file(doSync);
|
||||
disk_extraEnvironmentalDefault(doSync);
|
||||
disk_salinityEditDefault(doSync);
|
||||
disk_show_average_depth(doSync);
|
||||
}
|
||||
|
||||
|
@ -54,5 +55,7 @@ HANDLE_PREFERENCE_BOOL(Log, "extraEnvironmentalDefault", extraEnvironmentalDefau
|
|||
|
||||
HANDLE_PREFERENCE_BOOL(Log, "use_default_file", use_default_file);
|
||||
|
||||
HANDLE_PREFERENCE_BOOL(Log, "salinityEditDefault", salinityEditDefault);
|
||||
|
||||
HANDLE_PREFERENCE_BOOL(Log, "show_average_depth", show_average_depth);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue