Salome HOME
Fix for the bug "IPAL22690 time stamp popup is wrong after work in Mesh".
authorrnv <rnv@opencascade.com>
Fri, 12 Aug 2011 08:18:03 +0000 (08:18 +0000)
committerrnv <rnv@opencascade.com>
Fri, 12 Aug 2011 08:18:03 +0000 (08:18 +0000)
src/SMESHGUI/SMESHGUI_Hypotheses.cxx

index 49618fc8b47b5350702a9f25971a39f3fd5cc79d..12b6226f11a60628a9a556b25fc2b8e52b25394d 100644 (file)
@@ -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()