summaryrefslogtreecommitdiffstats
path: root/commands/command.cpp
diff options
context:
space:
mode:
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 47595674f..8f3dcc703 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -268,6 +268,11 @@ void editProfile(dive *d)
execute(new ReplanDive(d, true));
}
+int addWeight(bool currentDiveOnly)
+{
+ return execute_edit(new AddWeight(currentDiveOnly));
+}
+
// Trip editing related commands
void editTripLocation(dive_trip *trip, const QString &s)
{