aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r--desktop-widgets/tab-widgets/maintab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index d6a5af593..bf071619b 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -28,8 +28,7 @@ class MainTab : public QTabWidget {
public:
enum EditMode {
NONE,
- MANUALLY_ADDED_DIVE,
- IGNORE_MODE
+ MANUALLY_ADDED_DIVE
};
MainTab(QWidget *parent = 0);
@@ -76,6 +75,7 @@ slots:
private:
Ui::MainTab ui;
EditMode editMode;
+ bool ignoreInput; // When computionally editing fields, we have to ignore changed-signals
BuddyCompletionModel buddyModel;
DiveMasterCompletionModel diveMasterModel;
TagCompletionModel tagModel;