From 529c9146468a20b07fb1c37bdf34136c80dce835 Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Mon, 6 Jul 2026 11:21:39 +0200 Subject: [PATCH] [fix:] csv-export created json-file... --- MainWindow.axaml.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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); }