Ensure output converted name is always right

This commit is contained in:
2026-03-02 14:30:05 +09:00
parent 6d4e7a7bfe
commit 3720a6a25a
+1 -1
View File
@@ -705,7 +705,7 @@ class MainViewModel : BaseViewModel, IFontResolver, ICanCheckShutdown
if (didAdjust) if (didAdjust)
{ {
await mImage.WriteAsync(convertedOutputPath); await mImage.WriteAsync(convertedOutputPath);
filePath = Path.Combine("Converted", info.Name + ".jpg"); filePath = convertedOutputPath;
LogInfo(string.Format("Saved adjusted image to JPEG; fileName is now {0}", file.FilePath)); LogInfo(string.Format("Saved adjusted image to JPEG; fileName is now {0}", file.FilePath));
} }
} }