mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 02:52:29 +02:00
ide: probably fix graphic property editor
git-svn-id: trunk@15553 -
This commit is contained in:
parent
7702139893
commit
b7dbfbdfe9
@ -195,7 +195,7 @@ begin
|
||||
{$Warnings off}
|
||||
// TGraphic itself is an abstract class, so the compiler will warn
|
||||
if AGraphic = nil then begin
|
||||
AGraphic := TGraphic(GetTypeData(GetPropType)^.ClassType).Create;
|
||||
AGraphic := TGraphicClass(GetTypeData(GetPropType)^.ClassType).Create;
|
||||
FreeGraphic:=true;
|
||||
end;
|
||||
{$Warnings on}
|
||||
|
Loading…
Reference in New Issue
Block a user