PropertyConstraintList: refactor setValue

This commit is contained in:
Abdullah Tahiri
2020-06-20 07:26:45 +02:00
committed by abdullahtahiriyo
parent 9ca8568f89
commit fe993abc35

View File

@@ -183,9 +183,8 @@ void PropertyConstraintList::setValues(const std::vector<Constraint*>& lValue)
auto copy = lValue;
for(auto &cstr : copy)
cstr = cstr->clone();
aboutToSetValue();
applyValues(std::move(copy));
hasSetValue();
setValues(std::move(copy));
}
void PropertyConstraintList::setValues(std::vector<Constraint*>&& lValue) {