Browse Source

copy additional data

johann 5 years ago
parent
commit
809ee65a79
1 changed files with 1 additions and 1 deletions
  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