summaryrefslogtreecommitdiffstats
path: root/commands/command_edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command_edit.h')
-rw-r--r--commands/command_edit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/command_edit.h b/commands/command_edit.h
index cd12eaa04..c3acf9d48 100644
--- a/commands/command_edit.h
+++ b/commands/command_edit.h
@@ -320,7 +320,9 @@ class ReplanDive : public Base {
duration_t duration;
int salinity;
public:
- ReplanDive(dive *source); // Dive computer(s) and cylinders(s) of the source dive will be reset!
+ // Dive computer(s) and cylinders(s) of the source dive will be reset!
+ // If edit_profile is true, the text will be changed from "replan dive" to "edit profile".
+ ReplanDive(dive *source, bool edit_profile);
~ReplanDive();
private:
void undo() override;