[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)
|
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");
|
await MessageBox.Show(this, ex.Message, "Fehler beim Speichern der Datei");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -323,7 +323,7 @@ public partial class MainWindow : Window
|
|||||||
{
|
{
|
||||||
if (customer.patch == null)
|
if (customer.patch == null)
|
||||||
{
|
{
|
||||||
var got = DataImport.ImportKasAddressList(selected_path);
|
var got = DataImport.ImportKasAddressList(selected_path, null, customer.separator);
|
||||||
if (!got.Item1)
|
if (!got.Item1)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Error while importing. Please try another file.");
|
Console.WriteLine("Error while importing. Please try another file.");
|
||||||
@@ -339,7 +339,7 @@ public partial class MainWindow : Window
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var got = DataImport.ImportKasAddressList(selected_path, customer.patch);
|
var got = DataImport.ImportKasAddressList(selected_path, customer.patch, customer.separator);
|
||||||
if (!got.Item1)
|
if (!got.Item1)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Error while importing. Please try another file.");
|
Console.WriteLine("Error while importing. Please try another file.");
|
||||||
|
|||||||
Reference in New Issue
Block a user