diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-06-27 08:04:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-27 06:54:59 -0700 |
commit | b6fac74f6edfe7a0c129676f62c6c9cb4819cea1 (patch) | |
tree | 2657ac13db2638adaf47857197d4c0937143aa70 /qt-ui/divepicturewidget.cpp | |
parent | 707b9f066649daa1992b22eb4879d47cc669607e (diff) | |
download | subsurface-b6fac74f6edfe7a0c129676f62c6c9cb4819cea1.tar.gz |
Care about drop_stone_mode in createSimpleDive
The checkbox is remembered as long as the program is still running, so
if you planned one dive with drop_stone_mode and saved/aborted and then
tried to plan another one we had a first "down" waypoint from
createSimpleDive and drop_stone_mode was also enabled.
This makes sure we don't add the first waypoint in createSimpleDive when
drop_stone_mode is enabled and lets that add a implicit first waypoint.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divepicturewidget.cpp')
0 files changed, 0 insertions, 0 deletions