diff options
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r-- | desktop-widgets/command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp index 54ca2d39f..2bff1aad0 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -6,9 +6,9 @@ namespace Command { // Dive-list related commands -void addDive(dive *d, bool autogroup) +void addDive(dive *d, bool autogroup, bool newNumber) { - execute(new AddDive(d, autogroup)); + execute(new AddDive(d, autogroup, newNumber)); } void deleteDive(const QVector<struct dive*> &divesToDelete) |