From 1817b67921ed2277c561c42ace5bb125e95d0102 Mon Sep 17 00:00:00 2001 From: enk Date: Mon, 6 Mar 2006 12:18:17 +0000 Subject: [PATCH] Fix for Bug IPAL10464: SMESH: Add Polyhedron (Problem5) --- src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) 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() ; } -- 2.39.2