aboutsummaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-16 19:44:06 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-16 16:08:22 -0700
commitbebcbfe92ac29681db0f4662b930c5f8a48448d3 (patch)
treed2a21307f9b18b6793c4a958fc2f4ce3213a81b3 /dive.c
parent9d4b8c8218aa042b36a32ffd6eb63162285e7fba (diff)
downloadsubsurface-bebcbfe92ac29681db0f4662b930c5f8a48448d3.tar.gz
Desselects the trip before dive add / plan, and reselects it on cancel
When we had a trip selected, we ignored that and simply called the DiveAdd functions, but the mainTab code that deal with selections to show one or more dives or trips asked how many trips were selected to the DiveList, and since a trip was selected things go kabum. Fixes #606 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions