From 753d2c01af9faf7053fc3b4f1e97371fc5f460d0 Mon Sep 17 00:00:00 2001 From: mzn Date: Mon, 24 Oct 2005 11:44:58 +0000 Subject: [PATCH] Fix for bug PAL10344. --- src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx b/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx index b1fdd4978..2fde88ceb 100644 --- a/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx @@ -227,6 +227,8 @@ SMESHGUI_MergeNodesDlg::SMESHGUI_MergeNodesDlg( QWidget* parent, const char* nam SpinBoxTolerance->SetValue(1e-05); RadioButton1->setChecked( TRUE ); + + myEditCurrentArgument = (QWidget*)LineEditMesh; mySelection = Sel; @@ -264,6 +266,9 @@ SMESHGUI_MergeNodesDlg::SMESHGUI_MergeNodesDlg( QWidget* parent, const char* nam resize(0,0); buttonOk->setEnabled(false); buttonApply->setEnabled(false); + + // Init Mesh field from selection + SelectionIntoArgument(); } //=================================================================================