View Issue Details

IDProjectCategoryView StatusLast Update
0038140LazarusPackagespublic2020-11-27 15:02
Reportervirgo Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.0.10 
Summary0038140: fpreport designer: Adding report variables results in error because list is sorted.
DescriptionIn fpreport designer:
When saving variable frmfpreportvariables.TReportVariablesForm.SaveCurrentVariable fails on
LBVariables.Items[FCurrentIndex]:=FCurrentVariable.Name;
because LNVariables is sorted.
Changing it to
    LBVariables.Sorted:= False;
    try
      LBVariables.Items[FCurrentIndex]:=FCurrentVariable.Name;
    finally
      LBVariables.Sorted:= True;
    end;
is sufficient to fix the issue.
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetWin32/Win64
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-11-27 15:02 virgo New Issue