App: Rename FocusPaymentVariantsWindow to FocusPaymentVariants

This commit is contained in:
lorenz.stechauner committed 2024-02-24 16:33:22 +01:00
1 parent efe91192bc
commit 0a42d4776a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ namespace Elwig {
return w; return w;
} }
public static PaymentVariantsWindow FocusPaymentVariantsWindow(int year) { public static PaymentVariantsWindow FocusPaymentVariants(int year) {
return FocusWindow<PaymentVariantsWindow>(() => new(year), w => w.Year == year); return FocusWindow<PaymentVariantsWindow>(() => new(year), w => w.Year == year);
} }
+1 -1
View File
@@ -119,7 +119,7 @@ namespace Elwig.Windows {
private void PaymentButton_Click(object sender, RoutedEventArgs evt) { private void PaymentButton_Click(object sender, RoutedEventArgs evt) {
if (SeasonInput.Value is not int year) if (SeasonInput.Value is not int year)
return; return;
App.FocusPaymentVariantsWindow(year); App.FocusPaymentVariants(year);
} }
} }
} }