From e9b74aa934788c405f3540fc68209ef675e4fd80 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Sat, 20 Jun 2020 07:26:45 +0200 Subject: [PATCH] PropertyConstraintList: refactor setValue --- src/Mod/Sketcher/App/PropertyConstraintList.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Mod/Sketcher/App/PropertyConstraintList.cpp b/src/Mod/Sketcher/App/PropertyConstraintList.cpp index 91e1f0e350..f886b33e8a 100644 --- a/src/Mod/Sketcher/App/PropertyConstraintList.cpp +++ b/src/Mod/Sketcher/App/PropertyConstraintList.cpp @@ -183,9 +183,8 @@ void PropertyConstraintList::setValues(const std::vector& 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&& lValue) {