From: rnv Date: Fri, 12 Aug 2011 08:18:03 +0000 (+0000) Subject: Fix for the bug "IPAL22690 time stamp popup is wrong after work in Mesh". X-Git-Tag: V6_4_0a1~112 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d8ff2c2e8b7bc3a38651e0d8835bdfe62da42c0d;p=modules%2Fsmesh.git Fix for the bug "IPAL22690 time stamp popup is wrong after work in Mesh". --- diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 49618fc8b..12b6226f1 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -150,8 +150,10 @@ void SMESHGUI_GenericHypothesisCreator::editHypothesis( SMESH::SMESH_Hypothesis_ Dlg->show(); Dlg->resize( Dlg->minimumSizeHint() ); } - else + else { emit finished( QDialog::Accepted ); + delete myDlg; + } } QFrame* SMESHGUI_GenericHypothesisCreator::buildStdFrame()