From: mzn Date: Thu, 20 Oct 2005 13:50:20 +0000 (+0000) Subject: Fix for bug PAL10344. X-Git-Tag: V3_1_0a3~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d03efc5f7afe62484b0802bbe5fc933fad3a6481;p=modules%2Fsmesh.git Fix for bug PAL10344. --- diff --git a/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx b/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx index e297b635c..bfe0aba0f 100644 --- a/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx @@ -243,6 +243,8 @@ SMESHGUI_MergeNodesDlg::SMESHGUI_MergeNodesDlg( SMESHGUI* theModule, const char* RadioButton1->setChecked(TRUE); + myEditCurrentArgument = (QWidget*)LineEditMesh; + myActor = 0; mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector(); @@ -280,6 +282,9 @@ SMESHGUI_MergeNodesDlg::SMESHGUI_MergeNodesDlg( SMESHGUI* theModule, const char* resize(0,0); buttonOk->setEnabled(false); buttonApply->setEnabled(false); + + // Init Mesh field from selection + SelectionIntoArgument(); } //=================================================================================