]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
refs #30 - Sketch base GUI: create, draw lines
authornds <natalia.donis@opencascade.com>
Thu, 24 Apr 2014 07:07:18 +0000 (11:07 +0400)
committernds <natalia.donis@opencascade.com>
Thu, 24 Apr 2014 07:07:18 +0000 (11:07 +0400)
Undoes the previous commit.

src/XGUI/XGUI_Workshop.cpp

index a3fefefab770997e5d3f51e63c5edc939fa56af6..1a9ad3b6e9b8fcc7f2969eeb80a5075760d9805e 100644 (file)
@@ -158,8 +158,10 @@ void XGUI_Workshop::processEvent(const Event_Message* theMessage)
         (ModuleBase_PropPanelOperation*)(aPartSetMsg->pointer());
 
     if (myOperationMgr->startOperation(anOperation)) {
-      if (anOperation->isPerformedImmediately())
+      if (anOperation->isPerformedImmediately()) {
         anOperation->commit();
+        updateCommandStatus();
+      }
     }
     return;
   }