Set suggested file name for save window

This commit is contained in:
2026-04-24 12:01:01 +09:00
parent b0c897bef9
commit e2408ce581
@@ -1,3 +1,5 @@
#nullable enable
using System; using System;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.IO; using System.IO;
@@ -545,6 +547,7 @@ class CreatePDFReportViewModel : BaseViewModel, ICanCheckShutdown, ILogger
SuggestedFileType = FilePickerFileTypes.Pdf, SuggestedFileType = FilePickerFileTypes.Pdf,
DefaultExtension = "pdf", DefaultExtension = "pdf",
ShowOverwritePrompt = true, ShowOverwritePrompt = true,
SuggestedFileName = ReportTitle + ".pdf"
}); });
if (result.File is not null) if (result.File is not null)