]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group
authordmv <dmv@opencascade.com>
Thu, 2 Apr 2009 08:41:29 +0000 (08:41 +0000)
committerdmv <dmv@opencascade.com>
Thu, 2 Apr 2009 08:41:29 +0000 (08:41 +0000)
src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx

index 955f00795015aa4f65ed30ce7b45ba8874fcb98a..9112c56d012fdbfdd23a3fd72a8a37155c171e71 100644 (file)
@@ -600,9 +600,9 @@ void SMESHGUI_SmoothingDlg::SelectionIntoArgument()
 
   // OK
   if (myEditCurrentArgument == LineEditElements)
-    myNbOkElements = aNbUnits;
+    myNbOkElements = true;
   else if (myEditCurrentArgument == LineEditNodes)
-    myNbOkNodes = aNbUnits;
+    myNbOkNodes = true;
 
   if (myNbOkElements && (myNbOkNodes || LineEditNodes->text().trimmed().isEmpty())) {
     buttonOk->setEnabled(true);