Guard complete target sheet readback

This commit is contained in:
阿白叔 committed 2026-10-14 13:43:50 +08:00
1 parent 730c76081f
commit 157b99851a
1 file changed
+1 -1
@@ -998,8 +998,8 @@ End Function
Sub QPVerifyUntouched(ByRef Records)
Dim Baseline, Components, Comp, Uid, Actual, Matched, Total, Seen
If Not Records.Item("meta").Exists("target_scope") Then Exit Sub
Set Baseline = Records.Item("untouched")
If Baseline.Count = 0 Then Exit Sub
Set Components = QP_App.ActiveView.Query(VDM_COMP, VD_ALL)
Matched = 0
Total = 0