fix(cpn): inputs and mixes must have source (#5798)

This commit is contained in:
Neil Horne
2025-02-06 12:05:31 +10:00
committed by GitHub
parent 0325bd776b
commit ec3c5bf188
19 changed files with 481 additions and 21 deletions
+16
View File
@@ -343,3 +343,19 @@ AbstractStaticItemModel * RadioData::modelSortOrderItemModel()
mdl->loadItemList();
return mdl;
}
void RadioData::validateModels()
{
for(auto &model: models)
model.validate();
}
int RadioData::invalidModels()
{
int cnt = 0;
for(auto &model: models)
cnt += model.isValid() ? 0 : 1;
return cnt;
}