mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Export leadquantity only when we have weights
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
aa76bbaa97
commit
0a99c26590
1 changed files with 3 additions and 1 deletions
|
@ -583,7 +583,9 @@
|
|||
</visibility>
|
||||
<equipmentused>
|
||||
<leadquantity>
|
||||
<xsl:value-of select="sum(xt:node-set($trimmedweightlist))"/>
|
||||
<xsl:if test="sum(xt:node-set($trimmedweightlist)) >= 0">
|
||||
<xsl:value-of select="sum(xt:node-set($trimmedweightlist))"/>
|
||||
</xsl:if>
|
||||
</leadquantity>
|
||||
</equipmentused>
|
||||
|
||||
|
|
Loading…
Reference in a new issue