impr: score validation

This commit is contained in:
283375 2023-10-21 18:58:30 +08:00
parent d918032b9c
commit 7de2eda517
Signed by: 283375
SSH Key Fingerprint: SHA256:UcX0qg6ZOSDOeieKPGokA5h7soykG61nz2uxuQgVLSk

View File

@ -302,7 +302,7 @@ class ScoreEditor(Ui_ScoreEditor, QWidget):
if score.score is None:
flags |= ScoreValidateResult.ScoreIncomplete
elif score.pure is None or score.far is None:
elif score.pure is None or score.far is None or score.lost is None:
flags |= ScoreValidateResult.ScoreIncompleteForValidate
elif self.__chart.notes is not None:
score_range = calculate_score_range(