LCL: ImageList - associate FHeight from source FHeight

git-svn-id: trunk@59890 -
This commit is contained in:
zeljko 2018-12-21 16:59:46 +00:00
parent 2de386c531
commit 09fe63779a

View File

@ -1456,6 +1456,7 @@ begin
begin
ToR := FData.GetImageLists(FromR.Width, False, FromR.AutoCreatedInDesignTime);
ToR.FWidth := FromR.FWidth;
ToR.FHeight := FromR.FHeight;
ToR.FCount := FromR.FCount;
ToR.AllocData(ToR.FCount);
if ToR.FCount>0 then