subsurface/desktop-widgets/tab-widgets
Oliver Schwaneberg eb38a64149 Do not remove seconds from duration input field
This change deals with issue #554.
If you enter a dive duration manually, the cell renderer cuts the seconds
away when the changes are saved. I added the helper "render_seconds_to_string"
as a counterpart to "parseDurationToSeconds". The helper keeps the seconds,
if not null. The rendering of the cell is done at two places in the code,
so I think it is cleaner to add a dedicated method for it.

Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
2018-02-04 13:40:02 -08:00
..
maintab.cpp Do not remove seconds from duration input field 2018-02-04 13:40:02 -08:00
maintab.h Disable specific tabs when dive trip selected 2017-12-01 03:45:59 +01:00
maintab.ui Use better aliases for icons. 2017-11-30 23:14:46 -08:00
TabBase.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabBase.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.ui Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
TabDiveInformation.cpp Use helper function dive_endtime() where apropriate 2017-10-01 23:55:37 +03:00
TabDiveInformation.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveInformation.ui Change layout of information and statistics tab... 2017-05-01 21:24:02 -07:00
TabDivePhotos.cpp Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDivePhotos.h Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDivePhotos.ui Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDiveStatistics.cpp Use MAX_CYLINDERS consistently 2017-11-27 22:40:16 +01:00
TabDiveStatistics.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveStatistics.ui Change layout of information and statistics tab... 2017-05-01 21:24:02 -07:00