Salome HOME
Refs #288 - the profile section selected and addition mode is activated
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Operations.cxx
index 95fb864d8180f2e9b39c4810a0e4425e217019de..d2a7d3f42c665707dd0988b5a77939f3066202db 100644 (file)
@@ -392,7 +392,7 @@ LightApp_Operation* HYDROGUI_Module::createOperation( const int theId ) const
     break;
   case UpdateObjectId:
   case ForcedUpdateObjectId:
-    anOp = new HYDROGUI_UpdateObjectOp( aModule );
+    anOp = new HYDROGUI_UpdateObjectOp( aModule, theId == ForcedUpdateObjectId );
     break;
   case RemoveImageRefsId:
     anOp = new HYDROGUI_RemoveImageRefsOp( aModule );