App: Rename FocusPaymentVariantsWindow to FocusPaymentVariants
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user