diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-08-13 14:53:07 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-08-14 12:43:16 -0700 |
commit | dc9d0e23e5d158ea4775021b2f629e7f90b5377c (patch) | |
tree | 9b3719c76116ee83a5d87962f3f088bb20289d9c /profile.c | |
parent | 27a505e579057596ab10f7381c471b870ce86f87 (diff) | |
download | subsurface-dc9d0e23e5d158ea4775021b2f629e7f90b5377c.tar.gz |
Maintain selected rows when switching between list model and tree model
We keep track of the DIVE_INDEX of all selected dives and simply re-select
those dives after changing model (date based sort or sort by other
column).
There are a few TODOs left. We lose the sort direction (ascending /
descending) when switching models. We also don't correctly deal with the
user selecting summary rows in the tree model.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions