aboutsummaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-02 17:16:50 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-02 17:16:50 -0700
commitd51f40bdcff32b1a5d5dedea054db8de06de5e07 (patch)
tree12ff710179ba128cf0fe1b1e1b381783a92a299e /libdivecomputer.c
parent3e1b3c5c7fe6242319e8f4f994a1ca472fbed4ad (diff)
downloadsubsurface-d51f40bdcff32b1a5d5dedea054db8de06de5e07.tar.gz
Change calling convention of 'edit_cylinder_info'
Instead of passing it the model and iterator (which requires that we create the new entry for an 'add' event even if we then cancel the operation), just make the caller do the final cylinder list update. This way we can make 'add' work more sanely: if you cancel the add, we now do not create an empty cylinder entry at the end. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions