Explorar o código

copy additional data

johann %!s(int64=5) %!d(string=hai) anos
pai
achega
809ee65a79
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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