IdeIntf: Make a freed BitMap Nil.

git-svn-id: trunk@51451 -
This commit is contained in:
juha 2016-01-30 10:47:10 +00:00
parent cfd5a7b71c
commit bc4da6f46d

View File

@ -598,7 +598,7 @@ begin
if AValue<>nil then if AValue<>nil then
Bitmap.Assign(AValue) Bitmap.Assign(AValue)
else else
FBitmap.Free; FreeAndNil(FBitmap);
if MenuItem<>nil then if MenuItem<>nil then
MenuItem.Bitmap:=FBitmap; MenuItem.Bitmap:=FBitmap;
end; end;