diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 44cfe28..8957725 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -212,7 +212,7 @@ public partial class MainWindow : Window } catch (Exception ex) { - //Logger.Log("Saving file not successfull: " + ex.Message, Logger.LogType.Error); + //Logger.Log("Saving file not successful: " + ex.Message, Logger.LogType.Error); await MessageBox.Show(this, ex.Message, "Fehler beim Speichern der Datei"); return null; } @@ -323,7 +323,7 @@ public partial class MainWindow : Window { if (customer.patch == null) { - var got = DataImport.ImportKasAddressList(selected_path); + var got = DataImport.ImportKasAddressList(selected_path, null, customer.separator); if (!got.Item1) { Console.WriteLine("Error while importing. Please try another file."); @@ -339,7 +339,7 @@ public partial class MainWindow : Window } else { - var got = DataImport.ImportKasAddressList(selected_path, customer.patch); + var got = DataImport.ImportKasAddressList(selected_path, customer.patch, customer.separator); if (!got.Item1) { Console.WriteLine("Error while importing. Please try another file.");