ManualWeighingDialog: Do not require Reason
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user