mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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> |
||
|---|---|---|
| .. | ||
| maintab.cpp | ||
| maintab.h | ||
| maintab.ui | ||
| TabBase.cpp | ||
| TabBase.h | ||
| TabDiveEquipment.cpp | ||
| TabDiveEquipment.h | ||
| TabDiveEquipment.ui | ||
| TabDiveExtraInfo.cpp | ||
| TabDiveExtraInfo.h | ||
| TabDiveExtraInfo.ui | ||
| TabDiveInformation.cpp | ||
| TabDiveInformation.h | ||
| TabDiveInformation.ui | ||
| TabDivePhotos.cpp | ||
| TabDivePhotos.h | ||
| TabDivePhotos.ui | ||
| TabDiveSite.cpp | ||
| TabDiveSite.h | ||
| TabDiveSite.ui | ||
| TabDiveStatistics.cpp | ||
| TabDiveStatistics.h | ||
| TabDiveStatistics.ui | ||