summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-27 15:02:45 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-27 15:12:41 -0700
commitd1cd1eb933418282942b5cdacd1df46b75729f44 (patch)
tree002a76eb825cc06a104435a57922cbe70a4d69d9 /qt-ui/mainwindow.h
parent7feea7ccfa48c66f71c260fbb4adab889cd988ce (diff)
downloadsubsurface-d1cd1eb933418282942b5cdacd1df46b75729f44.tar.gz
Planner: better handle the temporary dive used for planning
This still crashes when you abort the plan. And when you accept the plan, the profile stays stuck in PLAN mode. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 8bb62b933..882534722 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -151,6 +151,7 @@ slots:
void recreateDiveList();
void showProfile();
void editCurrentDive();
+ void removeFakeDiveForAddAndPlan();
private:
Ui::MainWindow ui;
@@ -175,6 +176,7 @@ private:
bool plannerStateClean();
void createFakeDiveForAddAndPlan();
+ int fakeDiveId;
};
#endif // MAINWINDOW_H