summaryrefslogtreecommitdiffstats
path: root/subsurface_enabled_translations
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-04-26 09:39:33 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-29 12:58:49 -0700
commit88fbcefd4fa0e4d699240d96f48f8e9ab97b5e87 (patch)
tree5eb14228b90571a3aeca906c5b1ac6851ad344da /subsurface_enabled_translations
parent9bb7bbef8490c360bc084802ea11d75004d08ee8 (diff)
downloadsubsurface-88fbcefd4fa0e4d699240d96f48f8e9ab97b5e87.tar.gz
Desktop: set dive fields only when not in trip mode
On the main-tab, when looking at a trip, the fields were filled out with dive-data and then either hidden or overwritten with trip data. Move the update of the fields into the corresponding if-branch that is only active if on dive-mode. This means removing the UPDATE_* macros, which updated or cleared dive-fields depending on whether a current dive was set. These operations are now performed explicitly in the corresponding if-branches. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurface_enabled_translations')
0 files changed, 0 insertions, 0 deletions