mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use manual temperatures in CSV details import
When importing dive details from a CSV file, it is better to treat the values as manually imported instead of imported from a dive computer. The original way discarded the temperature values from the details import if a dive profile was imported and merged to the dive details. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2936b63a04
commit
6392bf83ab
1 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@
|
|||
</xsl:if>
|
||||
|
||||
<xsl:if test="$airtempField >= 0 or $watertempField >= 0">
|
||||
<temperature>
|
||||
<divetemperature>
|
||||
<xsl:if test="$airtempField >= 0">
|
||||
<xsl:attribute name="air">
|
||||
<xsl:variable name="air">
|
||||
|
@ -257,7 +257,7 @@
|
|||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
</temperature>
|
||||
</divetemperature>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$cylindersizeField > 0 or $startpressureField > 0 or $endpressureField > 0 or $o2Field > 0 or $heField > 0">
|
||||
|
|
Loading…
Add table
Reference in a new issue