From: sbh Date: Fri, 5 Sep 2014 08:01:13 +0000 (+0400) Subject: Hotfix for apply button in the property pannel. X-Git-Tag: V_0.4.4~78^2~3^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19ca8d1eebb8e531a4e95cb072a96710fae47542;p=modules%2Fshaper.git Hotfix for apply button in the property pannel. --- diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index 88e625e36..53f324b40 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -152,6 +152,7 @@ bool XGUI_OperationMgr::canStopOperation() void XGUI_OperationMgr::onCommitOperation() { ModuleBase_Operation* anOperation = currentOperation(); + anOperation->onWidgetActivated(NULL); if (anOperation) anOperation->commit(); } diff --git a/src/XGUI/XGUI_OperationMgr.h b/src/XGUI/XGUI_OperationMgr.h index 6e55108e3..f363da6b5 100644 --- a/src/XGUI/XGUI_OperationMgr.h +++ b/src/XGUI/XGUI_OperationMgr.h @@ -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. */