diff --git a/QMLComponents/models/listmodeltermsassigned.cpp b/QMLComponents/models/listmodeltermsassigned.cpp index 8d5f62a33f..82d9b205a6 100644 --- a/QMLComponents/models/listmodeltermsassigned.cpp +++ b/QMLComponents/models/listmodeltermsassigned.cpp @@ -124,6 +124,8 @@ Terms ListModelTermsAssigned::addTerms(const Terms& termsToAdd, int dropItemInde beginRemoveRows(QModelIndex(), maxRows, maxRows + termsToSendBack.size()); _setTerms(newTerms); endRemoveRows(); + + listView()->addControlWarningTemporary(tr("Only %1 variables are allowed").arg(maxRows)); } }