0020378: selection is empty after "cancel" in the hypothesis edition dialog box

This commit is contained in:
asl 2009-09-15 12:20:05 +00:00
parent 8d7286fc5d
commit cf2a8cec1c

View File

@ -287,8 +287,11 @@ void SMESHGUI_GenericHypothesisCreator::onDialogFinished( int result )
SMESHGUI::GetSMESHGUI()->updateObjBrowser( true, 0 );
myHypo = SMESH::SMESH_Hypothesis::_nil();
myInitParamsHypo = SMESH::SMESH_Hypothesis::_nil();
myDlg->close(); myDlg = 0;
//delete myDlg; myDlg = 0;
disconnect( myDlg, SIGNAL( finished( int ) ), this, SLOT( onDialogFinished( int ) ) );
myDlg->close();
//delete myDlg;
myDlg = 0;
emit finished( result );
}