subsurface/desktop-widgets/tab-widgets
Michael Keller 1e3d378ad9 Cylindermodel: Improve editing of tank use
Use the drop down for editing the tank use in the gas list in both the
equipment tab and the dive planner.
The tank use column is now available in the equipment tab for all dives
and not just CCR dives, as 'not used' is a valid entry in both cases.
However, if the current dive is an OC dive, only 'OC-gas' and 'not used' are
shown.
There still seems to be a problem that in some cases, when opening the
planner after selecting an existing CCR dive the drop down in the
planner does not list CCR gas uses - for some reason `displayed_dive`
does not seem to be updated correctly on opening of the planner. But I have not been able to
reproduce this consistently, and changing 'Dive mode' fixes this.

Signed-off-by: Michael Keller <github@ike.ch>
2023-02-07 14:20:29 +01:00
..
maintab.cpp Merge remote-tracking branch 'origin/bstoeger-divesites' 2022-09-23 08:02:54 -07:00
maintab.h cleanup: remove maintab.ui 2022-03-12 18:33:34 +01:00
TabBase.cpp cleanup: replace empty TabBase constructor by using directive 2022-03-12 18:33:34 +01:00
TabBase.h cleanup: replace empty TabBase constructor by using directive 2022-03-12 18:33:34 +01:00
TabDiveEquipment.cpp Cylindermodel: Improve editing of tank use 2023-02-07 14:20:29 +01:00
TabDiveEquipment.h cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
TabDiveEquipment.ui
TabDiveExtraInfo.cpp core: remove current_dc macro 2022-03-13 15:07:33 -07:00
TabDiveExtraInfo.h
TabDiveExtraInfo.ui
TabDiveInformation.cpp core: don't consider dives with many samples as manually added 2022-10-21 16:51:57 -07:00
TabDiveInformation.h
TabDiveInformation.ui
TabDiveNotes.cpp core: don't consider dives with many samples as manually added 2022-10-21 16:51:57 -07:00
TabDiveNotes.h cleanup: break out the dive-notes tab 2022-03-12 18:33:32 +01:00
TabDiveNotes.ui cleanup: break out the dive-notes tab 2022-03-12 18:33:32 +01:00
TabDivePhotos.cpp cleanup: replace membuffer by membufferpp in C-code 2021-07-23 11:22:43 -07:00
TabDivePhotos.h
TabDivePhotos.ui
TabDiveStatistics.cpp desktop: fix div-by-zero when selecting multiple invalid dives 2021-10-11 20:53:41 +03:00
TabDiveStatistics.h
TabDiveStatistics.ui