diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index fc0a8b7..d385a3e 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -564,7 +564,7 @@ public partial class MainWindow : Window var selected_path = paths[0].Path; foreach (var customer in Settings._instance.customers.customers) - if (customer.ID == ((Customer)LstSettingsCustomers.SelectedItems[0]).ID) + if (customer == ((Customer)LstCustomers.SelectedItems[0])) { if (customer.patch == null) {