diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-08-13 15:07:38 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-08-14 12:43:16 -0700 |
commit | 5ba89c13ac09ee7649abf2d0c4514f9a83bb6c8b (patch) | |
tree | 5cbdf4efde4e16670c331a2f8e06b8f0fd83baf4 /statistics.c | |
parent | dc9d0e23e5d158ea4775021b2f629e7f90b5377c (diff) | |
download | subsurface-5ba89c13ac09ee7649abf2d0c4514f9a83bb6c8b.tar.gz |
Apply sort functions to the correct model, don't select summary entries
We only set up the column specific sort functions for the default (tree)
model, which caused us to not sort correctly in the list model.
This commit also somewhat cleans up the handling of selecting summary
lines in the tree model, which includes the very first selection made at
program start (which happens to be the very last dive).
But it still doesn't work the way I expect it to work (i.e., the correct
row is not highlighted). Fundamentally I would prefer clicks on the
summary lines to instead select (or as ctrl-click, possibly deselect) all
the dives under that summary entry. Still TODO.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.c')
0 files changed, 0 insertions, 0 deletions