Salome HOME
Issue #1495 Not possible to validate the sketch after undo
authornds <nds@opencascade.com>
Thu, 19 May 2016 14:12:58 +0000 (17:12 +0300)
committernds <nds@opencascade.com>
Thu, 19 May 2016 14:12:58 +0000 (17:12 +0300)
src/XGUI/XGUI_OperationMgr.cpp

index 7b1a4e14d01abd794a18dbb0f91bd22982f483bc..3a98d98e9fff1808d0ac74d23ca6719b21fedd9b 100644 (file)
@@ -284,6 +284,8 @@ void XGUI_OperationMgr::updateApplyOfOperations(ModuleBase_Operation* theOperati
         updateApplyOfOperations(anOperation);
     }
   }
+  // Apply button of the current operation should also be updated
+  onValidateOperation();
 }
 
 bool XGUI_OperationMgr::canStopOperation(ModuleBase_Operation* theOperation)