Salome HOME
Hotfix for apply button in the property pannel.
authorsbh <sergey.belash@opencascade.com>
Fri, 5 Sep 2014 08:01:13 +0000 (12:01 +0400)
committersbh <sergey.belash@opencascade.com>
Fri, 5 Sep 2014 08:01:13 +0000 (12:01 +0400)
src/XGUI/XGUI_OperationMgr.cpp
src/XGUI/XGUI_OperationMgr.h

index 88e625e36297aa367d362e2d540796259eb35786..53f324b40362976fcd209799b4ee63a346e70b32 100644 (file)
@@ -152,6 +152,7 @@ bool XGUI_OperationMgr::canStopOperation()
 void XGUI_OperationMgr::onCommitOperation()
 {
   ModuleBase_Operation* anOperation = currentOperation();
+  anOperation->onWidgetActivated(NULL);
   if (anOperation)
     anOperation->commit();
 }
index 6e55108e33192a07163142b8508a02825b0cd6bc..f363da6b5203f3e0e91d31481098f072bd6f36c0 100644 (file)
@@ -17,10 +17,10 @@ class QKeyEvent;
 
 /**\class XGUI_OperationMgr
  * \ingroup GUI
- * \brief Operation manager. Servers to manupulate to the workshop operations. Contains a stack
- * of started operations. In simple case, if only one operration is started, the stack contains
+ * \brief Operation manager. Servers to manipulate to the workshop operations. Contains a stack
+ * of started operations. In simple case, if only one operation is started, the stack contains
  * one operation. It is possible for some kind of operations to start them above already
- * started one. In that case, the previous active operation becames suspended, a new one - active.
+ * started one. In that case, the previous active operation becomes suspended, a new one - active.
  * The new operation is added to the top of the stack. Then it is finished, it is removed from
  * the stack and the previous operation is activated.
  */