浏览代码

copy additional data

johann 5 年之前
父节点
当前提交
809ee65a79
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lazpaint/image/uimagestate.pas

+ 1 - 1
lazpaint/image/uimagestate.pas

@@ -653,7 +653,7 @@ begin
     LayeredBitmap.Free;
     SetLayeredBitmap(AValue);
   end else
-    LayeredBitmap.Assign(AValue,true);
+    LayeredBitmap.Assign(AValue, true, true);
   if NbLayers > 0 then
   begin
     SelectedImageLayerIndex := 0