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

This commit is contained in:
dmv 2008-10-07 08:42:26 +00:00
parent f58fa3fafb
commit ea83f5820d

View File

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