Grids: fix wrong result of TCustomGrid.GetEditorBorderStyle when FEditor = FPickListEditor. Issue #0028782.

git-svn-id: trunk@52912 -
This commit is contained in:
bart 2016-09-04 12:51:11 +00:00
parent c3f04f89d1
commit b1262a951e

View File

@ -5119,10 +5119,10 @@ end;
function TCustomGrid.GetEditorBorderStyle: TBorderStyle;
begin
result := bsSingle;
if FEditor = FstringEditor then
if FEditor = FStringEditor then
Result := FStringEditor.BorderStyle
else if FEditor = FPickListEditor then
Result := FStringEditor.BorderStyle;
Result := FPickListEditor.BorderStyle;
end;
function TCustomGrid.GetBorderWidth: Integer;