Browse Source

fix filename test

circular17 6 năm trước cách đây
mục cha
commit
81cf968e25
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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