Salome HOME
Disable button of active operation.
[modules/shaper.git] / src / XGUI / XGUI_OperationMgr.cpp
index 6732dec511a34cbedd16cb6d121ca6f5a22b965e..e169adcd5e32bcd00778fb3548f69577f0181804 100644 (file)
@@ -27,8 +27,7 @@
 
 XGUI_OperationMgr::XGUI_OperationMgr(QObject* theParent,
                                      ModuleBase_IWorkshop* theWorkshop)
-: QObject(theParent), myIsValidationLock(false), myIsApplyEnabled(false),
-  myWorkshop(theWorkshop)
+: QObject(theParent), myIsApplyEnabled(false), myWorkshop(theWorkshop)
 {
 }
 
@@ -200,12 +199,6 @@ void XGUI_OperationMgr::onValidateOperation()
     setApplyEnabled(myWorkshop->module()->getFeatureError(aFOperation->feature()).isEmpty());
 }
 
-void XGUI_OperationMgr::setLockValidating(bool toLock)
-{
-  myIsValidationLock = toLock;
-  onValidateOperation();
-}
-
 void XGUI_OperationMgr::setApplyEnabled(const bool theEnabled)
 {
   myIsApplyEnabled = theEnabled;