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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 1f586e70a..afc30a079 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -46,7 +46,8 @@ class MainTab : public QTabWidget
{
Q_OBJECT
public:
- enum EditMode { NONE, DIVE, TRIP, ADD, MANUALLY_ADDED_DIVE } editMode;
+ enum EditMode { NONE, DIVE, TRIP, ADD, MANUALLY_ADDED_DIVE };
+
MainTab(QWidget *parent);
void clearStats();
void clearInfo();
@@ -78,6 +79,7 @@ public slots:
void enableEdition(EditMode newEditMode = NONE);
private:
+ EditMode editMode;
Ui::MainTab ui;
WeightModel *weightModel;
CylindersModel *cylindersModel;