mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 20:40:36 +02:00
IdeIntf: Make a freed BitMap Nil.
git-svn-id: trunk@51451 -
This commit is contained in:
parent
cfd5a7b71c
commit
bc4da6f46d
@ -598,7 +598,7 @@ begin
|
||||
if AValue<>nil then
|
||||
Bitmap.Assign(AValue)
|
||||
else
|
||||
FBitmap.Free;
|
||||
FreeAndNil(FBitmap);
|
||||
if MenuItem<>nil then
|
||||
MenuItem.Bitmap:=FBitmap;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user