aboutsummaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-12-28 22:04:43 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-28 22:35:55 -0800
commite862f7c3439f521f20b709936d5672b9b63895b4 (patch)
treeea3a43d9d2022eee84d3e475ce3ef62add8953b1 /display.h
parent2287dc87cfc64ecd58c6c6f82bd59203ace085d2 (diff)
downloadsubsurface-e862f7c3439f521f20b709936d5672b9b63895b4.tar.gz
Allow sorting dives by date - without the dive trips in the dive list
We used to enable dive trips whenever we sorted by date, which can be a bit annoying. Sometimes you really just want to sort all your dives by date, without necessarily seeing the trip data. So this changes the default sort to be the "dive number" table, and then does *not* actually sort by the dive number, but instead enables the trips, and then sorts the result by date. So the "dive number" column - which used to be non-sortable - becomes semantically equivalent to the old date column sorting. And now sorting by date makes it act like sorting by depth or any other attribute - we hide the dive trip tree, and just show the plain list of dives (sorted by date, obviously). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display.h')
0 files changed, 0 insertions, 0 deletions