summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 25fe67743..041611b26 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -68,13 +68,14 @@ public slots:
void on_visibility_valueChanged(int value);
void editCylinderWidget(const QModelIndex& index);
void editWeigthWidget(const QModelIndex& index);
+ void addDiveStarted();
private:
Ui::MainTab *ui;
WeightModel *weightModel;
CylindersModel *cylindersModel;
QMap<dive*, NotesBackup> notesBackup;
- enum { NONE, DIVE, TRIP } editMode;
+ enum { NONE, DIVE, TRIP, ADD } editMode;
Completers completers;
void enableEdition();
};