]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug PAL10344.
authormzn <mzn@opencascade.com>
Thu, 20 Oct 2005 13:50:20 +0000 (13:50 +0000)
committermzn <mzn@opencascade.com>
Thu, 20 Oct 2005 13:50:20 +0000 (13:50 +0000)
src/SMESHGUI/SMESHGUI_MergeNodesDlg.cxx

index e297b635c86841ff6f4d027038bd00db56066004..bfe0aba0f0146e57e1011020bb9fe48c71cb5226 100644 (file)
@@ -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();
 }
 
 //=================================================================================