Fix #8056 - Dimensions with CustomUnit" = "Inches - Fractional" should not show 0.

This commit is contained in:
Ryan Schultz
2026-05-15 07:28:29 -05:00
parent 47312e1fbb
commit e78ef865b8
@@ -313,7 +313,7 @@ def format_distance(
if not feet and not add_inches:
tx_dist += str(feet) + "'"
if not feet and add_inches:
if not feet and add_inches and unit_length != "INCHES":
if value < 0:
tx_dist += "-0' - "
else: