Fix exploding enum-values, which get displayed as dropdown-items in datagrid. Broken in rev 620 ...

This commit is contained in:
Ansgar Becker
2007-06-28 22:05:19 +00:00
parent 36d9603f3c
commit 76bc0ddb8f

View File

@ -1563,7 +1563,7 @@ begin
// give all enum-fields a PickList with its Items
if ( StrCmpBegin( 'enum', ListColumns.Items[i].SubItems[0]) ) then
begin
DropDown := explode( ''', ''', getEnumValues( ListColumns.Items[i].SubItems[0] ) );
DropDown := explode( ''',''', getEnumValues( ListColumns.Items[i].SubItems[0] ) );
for j := 0 to ( DropDown.Count - 1 ) do
begin
DropDown[j] := trimc( DropDown[j], '''' );