]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Merge Nodes dialog box with opened Merge Elements crashes Salome. Regress to series3x
authordmv <dmv@opencascade.com>
Tue, 7 Oct 2008 08:43:26 +0000 (08:43 +0000)
committerdmv <dmv@opencascade.com>
Tue, 7 Oct 2008 08:43:26 +0000 (08:43 +0000)
src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx

index 58079ec23a54cb9a9612842a1eaefe5812b4f385..c0a08f1b5dcf6365ea5122a75fb786b32b4e7e30 100644 (file)
@@ -1067,6 +1067,9 @@ void SMESHGUI_EditMeshDlg::DeactivateActiveDialog()
     mySMESHGUI->ResetState();
     mySMESHGUI->SetActiveDialogBox(0);
   }
+
+  mySelectionMgr->clearSelected();
+  disconnect(mySelectionMgr, 0, this, 0);
 }
 
 //=================================================================================
@@ -1083,6 +1086,7 @@ void SMESHGUI_EditMeshDlg::ActivateThisDialog()
   GroupEdit->setEnabled(true);
   GroupButtons->setEnabled(true);
 
+  connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument()));
   mySMESHGUI->SetActiveDialogBox((QDialog*)this);
   SelectionIntoArgument();
 }