]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2644: Set not valid state if a feature is not accepted by attribute
authorvsv <vsv@opencascade.com>
Wed, 3 Oct 2018 13:42:41 +0000 (16:42 +0300)
committervsv <vsv@opencascade.com>
Wed, 3 Oct 2018 13:42:59 +0000 (16:42 +0300)
src/ModuleBase/ModuleBase_WidgetValidated.cpp

index 7ecc5a9552ffc43f2dfaff2c3922a26c2a08b44e..308e14770edb8d0017fd96ef3200c0d52554cb87 100644 (file)
@@ -135,6 +135,8 @@ bool ModuleBase_WidgetValidated::isValidInFilters(const ModuleBase_ViewerPrsPtr&
             Handle(AIS_InteractiveObject) anIO = myWorkshop->selection()->getIO(thePrs);
             anOwner = new StdSelect_BRepOwner(aTDShape, anIO);
           }
+          else
+            aValid = false;
           aSelectAttr->setValue(ObjectPtr(), GeomShapePtr(), true);
         }
         else {