From: dmv Date: Tue, 7 Oct 2008 08:42:26 +0000 (+0000) Subject: Merge Nodes dialog box with opened Merge Elements crashes Salome. Regress to series3x X-Git-Tag: RELIQUAT_4x_25102008~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea83f5820d3f7f77a17468558810c6162a72a69e;p=modules%2Fsmesh.git Merge Nodes dialog box with opened Merge Elements crashes Salome. Regress to series3x --- diff --git a/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx b/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx index 0709a751a..b371b7b25 100644 --- a/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_EditMeshDlg.cxx @@ -1111,6 +1111,9 @@ void SMESHGUI_EditMeshDlg::DeactivateActiveDialog() mySMESHGUI->ResetState(); mySMESHGUI->SetActiveDialogBox(0); } + + mySelectionMgr->clearSelected(); + disconnect(mySelectionMgr, 0, this, 0); } //================================================================================= @@ -1127,6 +1130,7 @@ void SMESHGUI_EditMeshDlg::ActivateThisDialog() GroupEdit->setEnabled(true); GroupButtons->setEnabled(true); + connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), this, SLOT(SelectionIntoArgument())); mySMESHGUI->SetActiveDialogBox((QDialog*)this); SelectionIntoArgument(); }