summaryrefslogtreecommitdiffstats
path: root/dives
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-20 15:31:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-20 15:35:43 -0700
commit529a72e6b496ef98702570ca944f415c09ac745c (patch)
tree2153c1b491256f3a93a450b89115349ddd5bc8b1 /dives
parent7fa039994909cbbfc86d94ddea4a9c8867b0ed6c (diff)
downloadsubsurface-529a72e6b496ef98702570ca944f415c09ac745c.tar.gz
Only select last dive by default if no other dives are selected
After deleting a dive the dive list is recreated. If there are still dives selected we should select the last dive as well. If there isn't any dive selected, then the last dive is as good a default as any, I guess. Reported-by: "Lubomir I. Ivanov" <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives')
0 files changed, 0 insertions, 0 deletions