Explorar o código

fix filename test

circular17 %!s(int64=6) %!d(string=hai) anos
pai
achega
81cf968e25
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lazpaint/image/uimage.pas

+ 2 - 2
lazpaint/image/uimage.pas

@@ -482,9 +482,9 @@ end;
 
 procedure TLazPaintImage.UpdateMultiImage(AOutputFilename: string = '');
 begin
-  if not FileManager.FileExists(AOutputFilename) then
+  if not FileManager.FileExists(currentFilenameUTF8) then
   begin
-    ShowMessage(rsFileNotFound);
+    ShowMessage(rsFileNotFound + LineEnding + LineEnding + currentFilenameUTF8);
     exit;
   end;
   if IsIconCursor then