aboutsummaryrefslogtreecommitdiffstats
path: root/map-widget/qmlmapwidgethelper.cpp
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-15 21:51:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-16 19:04:57 -0800
commitb1d94b247067a5cb07d6bdf8a9c2519e5309c326 (patch)
tree830543d92f3fa946316475ba1fcb366a12d0ca3b /map-widget/qmlmapwidgethelper.cpp
parent2890be92568d36303e99e84501994572c2a16c6e (diff)
downloadsubsurface-b1d94b247067a5cb07d6bdf8a9c2519e5309c326.tar.gz
mobile: manual add dive and cancel fails when repeated
This commit fixes a very subtle bug. Probably there for ages, but never noticed. When manually adding a dive, and canceling the add right away, the divetable was extended by 1 dive (using the core function add_single_dive), but canceling never removed that dive (using delete_single_dive). This is corrected here. Notice that commit ef543da5aff296e claims to fix issue #950. With this commit, however, that issue can be seen sometimes again. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'map-widget/qmlmapwidgethelper.cpp')
0 files changed, 0 insertions, 0 deletions