subsurface/desktop-widgets/tab-widgets
Rafael M. Salvioni 1e082affdd Fix salinity combo/icon when DC doesnt have salinity info
Today salinity combo is editable if one of these rules matches: The dive was manually entered or if salinity edition is allowed in preferences.
However we can have cases that dives were downloaded but its doesn't have salinity info.

This fix considers if there's a DC salinity info to decides combo edition and if salinity change indicator will be showed or not.
If DC doesn't have salinity, the UI behavior is the same of a manual dive

Signed-off-by: Rafael M. Salvioni <rafael.salvioni@gmail.com>
2023-07-09 20:36:46 +12:00
..
maintab.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
maintab.h selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabBase.cpp desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabBase.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveEquipment.cpp tab-widgets: pass current dive computer to delegates 2023-04-16 20:23:59 +02:00
TabDiveEquipment.h tab-widgets: make delegates subobject 2023-04-16 20:23:59 +02:00
TabDiveEquipment.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveExtraInfo.cpp desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveExtraInfo.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveExtraInfo.ui Cleanup: Move dive-equipment tab into own translation units 2019-04-15 10:30:04 +12:00
TabDiveInformation.cpp Fix salinity combo/icon when DC doesnt have salinity info 2023-07-09 20:36:46 +12:00
TabDiveInformation.h Fix salinity combo/icon when DC doesnt have salinity info 2023-07-09 20:36:46 +12:00
TabDiveInformation.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveNotes.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDiveNotes.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveNotes.ui cleanup: break out the dive-notes tab 2022-03-12 18:33:32 +01:00
TabDivePhotos.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDivePhotos.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDivePhotos.ui Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDiveStatistics.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDiveStatistics.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveStatistics.ui Reorganise the current statistics tab 2020-11-04 11:34:26 -08:00