IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group

This commit is contained in:
dmv 2009-04-02 08:41:29 +00:00
parent 95f31e3a95
commit c3c7609f27

View 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);