[feat:] csv-divider-buttons

This commit is contained in:
2026-05-06 07:07:41 +02:00
parent a46539c3cc
commit 7fe45ce4e3
2 changed files with 27 additions and 2 deletions
+17
View File
@@ -1120,4 +1120,21 @@ public partial class MainWindow : Window
StartAddressShortener((KasAddressList)LstCustomerAdressSets.SelectedItem);
}
private void ChangeCSVDivider(object sender, RoutedEventArgs e)
{
try
{
string div = (sender as Button).Content as string;
if (div == "TAB") div = "\t";
if (div == "SPACE") div = " ";
TbSettingsCustomerCsvSeparator.Text = div;
Settings.Save();
}
catch
{
Console.WriteLine("Error while parsing");
}
}
}