mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
7feea7ccfa
commit
d1cd1eb933
3 changed files with 29 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue