From 7964b99676ba823c7486e8d4c97af58157cb4a02 Mon Sep 17 00:00:00 2001 From: Jan Horacek Date: Sat, 21 Jan 2023 16:14:05 +0100 Subject: [PATCH] Do not limit train elapsed length. --- src/tables/DataHV.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tables/DataHV.pas b/src/tables/DataHV.pas index c04a4468..f6ea7077 100644 --- a/src/tables/DataHV.pas +++ b/src/tables/DataHV.pas @@ -124,8 +124,8 @@ procedure THVTableData.UpdateLine(HV: THV); Self.LV.Items[line].SubItems[6] := 'sudý'; end; - Self.LV.Items[line].SubItems[20] := Format('%5.2f', [state.traveled_forward]); - Self.LV.Items[line].SubItems[21] := Format('%5.2f', [state.traveled_backward]); + Self.LV.Items[line].SubItems[20] := Format('%.2f', [state.traveled_forward]); + Self.LV.Items[line].SubItems[21] := Format('%.2f', [state.traveled_backward]); if (state.area <> nil) then Self.LV.Items[line].SubItems[7] := state.area.name