]> git.tdb.fi Git - ext/subsurface.git/commit
Select the first dive after filling the dive list
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 15:19:34 +0000 (08:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 15:19:34 +0000 (08:19 -0700)
commit2df6149080d81fa0aa1f999d9367f57206ae1b94
tree1f38c7279ff7f664566ab4c20524546081932343
parente11523110b14056f88a39bacafabb0f55aebbf89
Select the first dive after filling the dive list

We should always strive to have a dive selected, so pick the first one
(that was how the dive list logic worked anyway, it just wasn't truly
selected at the tree-view level, so it wasn't *visibly* the selected
dive).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
divelist.c