diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-19 21:13:09 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-19 21:18:26 -0500 |
commit | 1894bdd3cbafdbc5e80fdd36e3e667851e48f91a (patch) | |
tree | 2da16fc5acf59bf259de1a99acbb4398fe021971 /planner.h | |
parent | 5b0f4e79c4767f6d4e305e1607d7749330531a21 (diff) | |
download | subsurface-1894bdd3cbafdbc5e80fdd36e3e667851e48f91a.tar.gz |
Don't trigger creation of dive from invalid plan in planCreated()
This is subtle. The modifications to the selection cause a redraw of the
profile. So we need to make sure that we leave the plan state and return
to profile state BEFORE we do this, otherwise we'll call into
createTemporaryPlan() with invalid data.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.h')
0 files changed, 0 insertions, 0 deletions