From: dmv Date: Thu, 2 Apr 2009 08:41:29 +0000 (+0000) Subject: IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group X-Git-Tag: V5_1_2rc1~74 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3c7609f27e8bbe35f88e3ba849b958b09257c87;p=modules%2Fsmesh.git IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group --- diff --git a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx index 955f00795..9112c56d0 100644 --- a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx @@ -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);