Commit 3bffec96 by Mac Stephens

Quick fix for color change

parent c4a48524
......@@ -496,7 +496,10 @@ end;
procedure TFViewComplaintDetails.tblUnitsGetCellClass(Sender: TObject; ACol, ARow: Integer; AField: TField; AValue: string; var AClassName: string);
begin
if ARow = 0 then
if (ARow = 0) or not xdwdsUnits.Active then
Exit;
if xdwdsUnits.IsEmpty then
Exit;
case StrToIntDef(xdwdsUnitsUnitStatus.AsString, 0) of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment