summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-02-01 09:40:54 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-01 10:51:45 +1100
commit7e7cbb0dce33f8527cb348e020f4800b0482f39e (patch)
treead690fbd739ce2c02a578cc954a5afe94b2357ff /libdivecomputer.c
parentb03ae632d5bb801aae806e09adfc63a440028edd (diff)
downloadsubsurface-7e7cbb0dce33f8527cb348e020f4800b0482f39e.tar.gz
When switching sort order, scroll the dive list to the current dive
Now that we actually seem to understand the whole notion of setting the active dive, let's take that code a bit further, and always scroll to it when we're introducing a new sort ordering. Sure, there may be other selected dives, but we have one primary (current) dive that we show the profile and dive data for, and when we switch sort order we probably want to see that dive in the dive list. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions