summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r--desktop-widgets/command.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp
index 7336a5b62..7eff9a4c1 100644
--- a/desktop-widgets/command.cpp
+++ b/desktop-widgets/command.cpp
@@ -135,4 +135,9 @@ void editNotes(const QVector<dive *> dives, const QString &newValue, const QStri
execute(new EditNotes(dives, newValue, oldValue));
}
+void editMode(const QVector<dive *> dives, int index, int newValue, int oldValue)
+{
+ execute(new EditMode(dives, index, newValue, oldValue));
+}
+
} // namespace Command