mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Fix exploding enum-values, which get displayed as dropdown-items in datagrid. Broken in rev 620 ...
This commit is contained in:
@ -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], '''' );
|
||||
|
Reference in New Issue
Block a user