Skip to content

Commit

Permalink
Fixed misleading error message on codeplug verification. Addresses #387
Browse files Browse the repository at this point in the history
…. (#391)
  • Loading branch information
hmatuschek authored Oct 11, 2023
1 parent a494e26 commit 6041c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/radiolimits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ RadioLimitRefList::verify(const ConfigItem *item, const QMetaProperty &prop, Rad

if ((0 <= _maxSize) && (_maxSize < plist->count())) {
auto &msg = context.newMessage(RadioLimitIssue::Warning);
msg << "List '" << prop.name() << "' takes at most " << _minSize
msg << "List '" << prop.name() << "' takes at most " << _maxSize
<< " elements, " << plist->count() << " elements found.";
return false;
}
Expand Down

0 comments on commit 6041c38

Please sign in to comment.