Salome HOME
#1150 Tab buttons problems
[modules/shaper.git] / src / PartSet / PartSet_Validators.cpp
index acb34da8f2403f30cc883df4703c005011d764dc..b446bab1642528b4922b8ce7e84956f677309445 100755 (executable)
@@ -213,8 +213,8 @@ bool PartSet_FilletSelection::isValid(const ModuleBase_ISelection* theSelection,
   if (theSelection->getSelected(ModuleBase_ISelection::Viewer).size() == 0) {
     return isEmptySelectionValid(theOperation);
   } else {
-    int aCount = shapesNbLines(theSelection);
-    return (aCount > 0) && (aCount < 3);
+    int aCount = shapesNbPoints(theSelection);
+    return aCount == 1;
   }
 }