ManualWeighingDialog: Do not require Reason

This commit is contained in:
2023-09-12 22:48:02 +02:00
parent 80ed90941d
commit 595f9a049c

View File

@ -26,7 +26,7 @@ namespace Elwig.Dialogs {
} }
private void UpdateButtons() { private void UpdateButtons() {
ConfirmButton.IsEnabled = WeightInput.Text.Length > 0 && ReasonInput.Text.Trim().Length > 0; ConfirmButton.IsEnabled = WeightInput.Text.Length > 0;
} }
private void WeightInput_TextChanged(object sender, TextChangedEventArgs evt) { private void WeightInput_TextChanged(object sender, TextChangedEventArgs evt) {