Merge Nodes dialog box with opened Merge Elements crashes Salome. Regress to series3x

This commit is contained in:
dmv 2008-10-07 08:43:26 +00:00
parent 1a01aa1b10
commit 266ebccd54

View 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();
}