diff options
Diffstat (limited to 'commands/command.cpp')
-rw-r--r-- | commands/command.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/command.cpp b/commands/command.cpp index 9417eec0e..9ea0e860f 100644 --- a/commands/command.cpp +++ b/commands/command.cpp @@ -278,6 +278,11 @@ int removeWeight(int index, bool currentDiveOnly) return execute_edit(new RemoveWeight(index, currentDiveOnly)); } +int editWeight(int index, weightsystem_t ws, bool currentDiveOnly) +{ + return execute_edit(new EditWeight(index, ws, currentDiveOnly)); +} + // Trip editing related commands void editTripLocation(dive_trip *trip, const QString &s) { |