From 7271eaab5542170cac70795dd0a648689538803e Mon Sep 17 00:00:00 2001 From: 283375 Date: Tue, 17 Oct 2023 19:09:50 +0800 Subject: [PATCH] fix: `ScoreDelegate` empty value checking when validating score --- ui/extends/shared/delegates/scoreDelegate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/extends/shared/delegates/scoreDelegate.py b/ui/extends/shared/delegates/scoreDelegate.py index 61b2aa4..b613ff1 100644 --- a/ui/extends/shared/delegates/scoreDelegate.py +++ b/ui/extends/shared/delegates/scoreDelegate.py @@ -95,6 +95,7 @@ class ScoreDelegate(TextSegmentDelegate): self.isScoreInstance(index) and isinstance(chart, Chart) and chart.notes is not None + and chart.notes != 0 and score.pure is not None and score.far is not None ):