From d2cf58e07e64b4e1e6a81f07c2efce38c55be78b Mon Sep 17 00:00:00 2001 From: willemferguson Date: Tue, 19 Nov 2019 19:16:45 +0200 Subject: core: read and write the user-specified salinity Both XML and git storage are added. Signed-off-by: willemferguson Signed-off-by: Dirk Hohndel --- commands/command.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'commands/command.cpp') 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)); -- cgit v1.2.3-70-g09d2