From: enk Date: Mon, 6 Mar 2006 12:18:17 +0000 (+0000) Subject: Fix for Bug IPAL10464: X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1817b67921ed2277c561c42ace5bb125e95d0102;p=modules%2Fsmesh.git Fix for Bug IPAL10464: SMESH: Add Polyhedron (Problem5) --- diff --git a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx index 20324bbe0..02ac5a08d 100644 --- a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx @@ -452,6 +452,7 @@ void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply() { if ( myNbOkElements>0 && !mySMESHGUI->isActiveStudyLocked()) { + if(checkEditLine(false) == -1) {return;} busy = true; if (GetConstructorId() == 0) { @@ -535,6 +536,7 @@ void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply() //================================================================================= void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnOk() { + if(checkEditLine(false) == -1) {return;} ClickOnApply() ; ClickOnCancel() ; }