aProfileUZ->SetSectionType( 0, aSectType );
+ if ( !myIsEdit )
+ {
+ aProfileObj->SetBorderColor( HYDROData_Profile::DefaultBorderColor() );
+ }
+
+ // At first we update the child u,z profile object
+ aProfileUZ->SetToUpdate( true );
+ aProfileUZ->Update();
+
+ // And now we update our edited object
aProfileObj->Update();
theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced;