return anError;
}
-QString ModuleBase_ModelWidget::getError() const
+QString ModuleBase_ModelWidget::getError(const bool theValueStateChecked) const
{
QString anError;
}
anError = QString::fromStdString(anErrorMsg);
- if (anError.isEmpty())
+ if (anError.isEmpty() && theValueStateChecked)
anError = getValueStateError();
return anError;