[fix:] csv-export created json-file...

This commit is contained in:
2026-07-06 11:21:39 +02:00
parent ab133cd267
commit 529c914646
+5 -4
View File
@@ -692,17 +692,18 @@ public partial class MainWindow : Window
var file = await topLevel!.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
{
Title = "CSV-Datei speichern",
SuggestedFileName = "spplus_ergebnisse.json",
SuggestedFileType = new FilePickerFileType(".json-Datei")
SuggestedFileName = "spplus_ergebnisse.csv",
SuggestedFileType = new FilePickerFileType(".csv-Datei")
{
Patterns = new[] { "*.json" }
Patterns = new[] { "*.csv" }
}
});
if (file == null) return;
ExportUtility.ExportResultsToJson(file.Path.LocalPath);
//ExportUtility.ExportResultsToJson(file.Path.LocalPath);
ExportUtility.ExportToCSV(file.Path.LocalPath);
}