Commit dde81d13 authored by Don Gagne's avatar Don Gagne

Fix min check

parent 5a039092
...@@ -147,7 +147,7 @@ void FactMetaData::setRawDefaultValue(const QVariant& rawDefaultValue) ...@@ -147,7 +147,7 @@ void FactMetaData::setRawDefaultValue(const QVariant& rawDefaultValue)
void FactMetaData::setRawMin(const QVariant& rawMin) void FactMetaData::setRawMin(const QVariant& rawMin)
{ {
if (rawMin > _minForType()) { if (rawMin >= _minForType()) {
_rawMin = rawMin; _rawMin = rawMin;
_minIsDefaultForType = false; _minIsDefaultForType = false;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment