fixed clearing glyphs in designer

git-svn-id: trunk@5276 -
This commit is contained in:
mattias 2004-03-06 18:56:06 +00:00
parent 9551e28aac
commit 3f991b1e83

View File

@ -494,11 +494,13 @@ begin
if TheDialog.Modified then begin
LoadBitmap;
SetOrdValue(Longint(ABitmap));
Modified;
end;
end
else
ABitmap.FreeImage;
else begin
ABitmap.Width:=0;
ABitmap.Height:=0;
end;
Modified;
end;
finally
TheDialog.Free;