[fix:] forgot to use the separator in last commit
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user