[fix:] refreshing listbox items after processing address sets

This commit is contained in:
2026-08-06 15:39:55 +02:00
parent 612a55a070
commit c0d7053847
+8
View File
@@ -98,6 +98,8 @@ public partial class MainWindow : Window
progressWindow.Close(); progressWindow.Close();
new ResultWindow(result, addresSetID).Show(); new ResultWindow(result, addresSetID).Show();
Settings.Save(); Settings.Save();
RefreshAddressSetListItems((LstCustomers.SelectedItem as Customer).ID);
} }
private async void StartAddressShortener(KasAddressList set) private async void StartAddressShortener(KasAddressList set)
@@ -110,6 +112,8 @@ public partial class MainWindow : Window
progressWindow.Close(); progressWindow.Close();
Settings.Save(); Settings.Save();
RefreshAddressSetListItems((LstCustomers.SelectedItem as Customer).ID);
} }
private async void StartAddressRepairer(KasAddressList set) private async void StartAddressRepairer(KasAddressList set)
@@ -122,6 +126,8 @@ public partial class MainWindow : Window
progressWindow.Close(); progressWindow.Close();
Settings.Save(); Settings.Save();
RefreshAddressSetListItems((LstCustomers.SelectedItem as Customer).ID);
} }
@@ -858,6 +864,8 @@ public partial class MainWindow : Window
Logger.Log("PDF seems OK"); Logger.Log("PDF seems OK");
} }
RefreshAddressSetListItems((LstCustomers.SelectedItem as Customer).ID);
} }
catch (Exception ex) catch (Exception ex)