Salome HOME
Issue #1278 In the sketch the creation line is not functional when I check the box...
[modules/shaper.git] / src / ModuleBase / ModuleBase_IPropertyPanel.cpp
index c37673303ecbfd26953efe867ab139dfc33c0e08..eb338776b20a50e9c0672bdf8076b55e1a6448f9 100644 (file)
@@ -39,7 +39,7 @@ ModuleBase_ModelWidget* ModuleBase_IPropertyPanel::findFirstAcceptingValueWidget
     if (!aValidators->isCase(aWgt->feature(), aWgt->attributeID()))
       continue; // this attribute is not participated in the current case
 
-    if (!aWgt->canSetValue())
+    if (!aWgt->canAcceptFocus())
       continue;
 
     /// workaround for the same attributes used in different stacked widgets(attribute types)