From c3c7609f27e8bbe35f88e3ba849b958b09257c87 Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 2 Apr 2009 08:41:29 +0000 Subject: [PATCH] IPAL20929 regression: Smoothing disabled for whole mesh, submesh or group --- src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);