Przeglądaj źródła

copy additional data

johann 5 lat temu
rodzic
commit
809ee65a79
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lazpaint/image/uimagestate.pas

+ 1 - 1
lazpaint/image/uimagestate.pas

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