aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command.cpp
diff options
context:
space:
mode:
authorGravatar willemferguson <willemferguson@zoology.up.ac.za>2019-11-19 19:16:45 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-06 07:00:34 +0900
commitd2cf58e07e64b4e1e6a81f07c2efce38c55be78b (patch)
tree1b0ad636f59da7600f4a38a819f8ddd5d03fc437 /commands/command.cpp
parentebabbfb457184ea4d9e939ad8501986c35699264 (diff)
downloadsubsurface-d2cf58e07e64b4e1e6a81f07c2efce38c55be78b.tar.gz
core: read and write the user-specified salinity
Both XML and git storage are added. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'commands/command.cpp')
-rw-r--r--commands/command.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/command.cpp b/commands/command.cpp
index 9ea0e860f..29702c703 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -218,6 +218,11 @@ int editAtmPress(int newValue, bool currentDiveOnly)
return execute_edit(new EditAtmPress(newValue, currentDiveOnly));
}
+int editWaterTypeUser(int newValue, bool currentDiveOnly)
+{
+ return execute_edit(new EditWaterTypeUser(newValue, currentDiveOnly));
+}
+
int editDepth(int newValue, bool currentDiveOnly)
{
return execute_edit(new EditDepth(newValue, currentDiveOnly));