diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 5f3f20c..60a780a 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -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); }