]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To prevent changing of scalar bar title when there is no necessity
authorapo <apo@opencascade.com>
Mon, 21 May 2007 06:13:21 +0000 (06:13 +0000)
committerapo <apo@opencascade.com>
Mon, 21 May 2007 06:13:21 +0000 (06:13 +0000)
src/VISU_I/VISU_ColoredPrs3d_i.cc

index a3e8e67c45de82c1e9f72804c9ffa63339db7b3a..3bbed30d679d2256d25c6228f47a8aa164514545 100644 (file)
@@ -170,7 +170,8 @@ VISU::ColoredPrs3d_i
   }
 
   // To update title according to the new input
-  SetTitle(GetCFieldName().c_str());
+  if(theReInit)
+    SetTitle(GetCFieldName().c_str());
 
   return anIsCreatNew;
 }