]> git.tdb.fi Git - ext/subsurface.git/commit
Update the dive units without destroyng and rebuilding the dive list
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Sep 2011 19:01:37 +0000 (12:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Sep 2011 19:05:44 +0000 (12:05 -0700)
commit7bbcf2fabd0d74d46dba1f3fad5a6d85c6f6eb1d
treec61f3f412fda9f1a1be08c09fcb601b72c85c78f
parent19dd61b1268cfef1526cb4195180e19276ea81b4
Update the dive units without destroyng and rebuilding the dive list

Just iterate over the dive list entries, updating them one by one.

This avoids the "selection destroyed" when the dive units are changed.
And it's cleaner anyway.

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