mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Gas choices working, both directions ( Planner and Table )
The gas choice now works and correctly ( I hope ) calculates the gas choosen to show on the planner. User can choose the gas from the list on the visual planner, and also on the table. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
2d0e877bb2
commit
5e722a93e4
4 changed files with 41 additions and 11 deletions
|
@ -712,7 +712,6 @@ error_exit:
|
|||
free(gaschanges);
|
||||
}
|
||||
|
||||
#if USE_GTK_UI
|
||||
/*
|
||||
* Get a value in tenths (so "10.2" == 102, "9" = 90)
|
||||
*
|
||||
|
@ -980,6 +979,7 @@ int validate_volume(const char *text, int *sac)
|
|||
return 1;
|
||||
}
|
||||
|
||||
#if USE_GTK_UI
|
||||
struct diveplan diveplan = {};
|
||||
char *cache_data = NULL;
|
||||
struct dive *planned_dive = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue