mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0020378: selection is empty after "cancel" in the hypothesis edition dialog box
This commit is contained in:
parent
8d7286fc5d
commit
cf2a8cec1c
@ -287,8 +287,11 @@ void SMESHGUI_GenericHypothesisCreator::onDialogFinished( int result )
|
|||||||
SMESHGUI::GetSMESHGUI()->updateObjBrowser( true, 0 );
|
SMESHGUI::GetSMESHGUI()->updateObjBrowser( true, 0 );
|
||||||
myHypo = SMESH::SMESH_Hypothesis::_nil();
|
myHypo = SMESH::SMESH_Hypothesis::_nil();
|
||||||
myInitParamsHypo = 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 );
|
emit finished( result );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user