aboutsummaryrefslogtreecommitdiffstats
path: root/core/uemis-downloader.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-11-26 22:06:17 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-09 20:58:04 -0800
commit7df8d8c888cb8e1cdb12a171a4715c8f5af7c80d (patch)
tree1a397c5d9c448a8b6c0c3d5771fd7d981bc0b763 /core/uemis-downloader.c
parent517fb7a462c207e32cc7c5ed50e1e9b1f359dbd8 (diff)
downloadsubsurface-7df8d8c888cb8e1cdb12a171a4715c8f5af7c80d.tar.gz
Undo commands: refactor dive-trip handling
Trips were added to the core with the first dive of that trip. With the recent changes that keep trips ordered by first dive, this became counter-productive. Keeping a consistent state at all times would mean resorting the trip table for every dive that is added. Instead, add all dives to a trip and *then* add the trip to the core. Change the data-structures to not register trips-to-be-added with individual dives, but keep them in a separate vector for each undo command. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/uemis-downloader.c')
0 files changed, 0 insertions, 0 deletions