summaryrefslogtreecommitdiffstats
path: root/commands/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command.cpp')
-rw-r--r--commands/command.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/command.cpp b/commands/command.cpp
index d04128b8a..47595674f 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -260,7 +260,12 @@ void pasteDives(const dive *d, dive_components what)
void replanDive(dive *d)
{
- execute(new ReplanDive(d));
+ execute(new ReplanDive(d, false));
+}
+
+void editProfile(dive *d)
+{
+ execute(new ReplanDive(d, true));
}
// Trip editing related commands