Salome HOME
unified access to default colors
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileOp.cxx
index 759795a528cc20c5eb0ae59ae81ab4a971710cb8..3148703ac66326a9a8f261f249071cc4827dec6e 100644 (file)
@@ -228,7 +228,7 @@ bool HYDROGUI_ProfileOp::processApply( int& theUpdateFlags,
 
   if ( !myIsEdit )
   {
-    aProfileObj->SetBorderColor( HYDROData_Profile::DefaultBorderColor() );
+    aProfileObj->SetBorderColor( aProfileObj->DefaultBorderColor() );
   }
 
   // At first we update the child u,z profile object