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

index b1fdd49784df16e0953f1ef9167dc02a1c5b9f8e..2fde88cebfc1c62112f92a67af26879a53e0c13a 100644 (file)
@@ -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();
 }
 
 //=================================================================================