]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_AttributeSelection.cpp
Salome HOME
Issue #2044: Error detection in the parametric API
[modules/shaper.git] / src / Model / Model_AttributeSelection.cpp
index 9ebc852596933efb58c8747649f55e09410b5e9e..d6c3cf17c55afe2468a03ac9001b3f2e519e11f0 100644 (file)
@@ -664,6 +664,9 @@ void Model_AttributeSelection::selectSubShape(
     }
     setValue(aCont, aShapeToBeSelected);
   }
+
+  setInvalidIfFalse(selectionLabel(), false);
+  reset();
 }
 
 int Model_AttributeSelection::Id()