From c05ae0c87c1d0fd3f5e7cb7d2087f14ee21e38c8 Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Sun, 5 Sep 2010 09:55:20 +0200 Subject: [PATCH] Make maxRange only display "km" after the whole thing --- gui/builtinViewColumns/maxRange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/builtinViewColumns/maxRange.py b/gui/builtinViewColumns/maxRange.py index 3389c1f08..5c2a69e37 100644 --- a/gui/builtinViewColumns/maxRange.py +++ b/gui/builtinViewColumns/maxRange.py @@ -58,7 +58,7 @@ class MaxRange(ViewColumn): falloff = "+%sm" % shorten(falloff, 3, 0, 3) if maxRange: - return "%sm" % shorten(maxRange, 3, 0, 3) + falloff + return "%s" % shorten(maxRange, 3, 0, 3, unit=falloff == "") + falloff else: return "" + falloff