From: nds Date: Tue, 25 Aug 2015 05:26:29 +0000 (+0300) Subject: AcceptAll is always enabled. This is a temporary fix to hide a regression, where... X-Git-Tag: V_1.4.0_beta4~267 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37db1cf9980473401681e7b2da89a4a9a77be698;p=modules%2Fshaper.git AcceptAll is always enabled. This is a temporary fix to hide a regression, where a sketch in the ExtrusionCut/Fuse can not be created. [parent operation extrusion cut/fuse is used instead of sketch to check whether parameters are valid]. --- diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index 1845110e8..3bab1779f 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -189,7 +189,7 @@ void XGUI_OperationMgr::setApplyEnabled(const bool theEnabled) myIsApplyEnabled = theEnabled; emit validationStateChanged(theEnabled); - bool aParentValid = isParentOperationValid(); + bool aParentValid = true;//isParentOperationValid(); emit nestedStateChanged(aParentValid); }