subsurface/desktop-widgets/tab-widgets
Robert C. Helling a422957cd6 Use displayed_dc instead of current_dc
current_dc is a macro that determines the dive computer
based on the current dive number. When the planner is started
from an emtpy dive list, the dive number ends up being -1 and
that doesn't produce a valid dive computer. Use the divecomputer
of the displayed_dive instead. This is done via a macro that
can also be used in two other places. Without this patch, the
planner crashed when called on an empty dive list.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
2017-10-19 14:57:02 -04:00
..
maintab.cpp Use displayed_dc instead of current_dc 2017-10-19 14:57:02 -04:00
maintab.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
maintab.ui Clean up some widgets 2017-04-06 18:25:15 -07: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
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 Fix slot handling in Photos tab 2017-07-12 08:25:58 -07:00
TabDivePhotos.h Fix slot handling in Photos tab 2017-07-12 08:25:58 -07:00
TabDivePhotos.ui
TabDiveStatistics.cpp Creation of dive duration string and surface interval string 2017-05-26 15:50:52 -07: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