]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL15162
authorapo <apo@opencascade.com>
Thu, 17 May 2007 13:34:24 +0000 (13:34 +0000)
committerapo <apo@opencascade.com>
Thu, 17 May 2007 13:34:24 +0000 (13:34 +0000)
 - IOLS.It's impossible to rename Title of Scalar Map.

src/VISU_I/VISU_ColoredPrs3d_i.cc

index 35c6df039506c8559783ec8d58c068c25d6472ee..a5581e2cdbfdec63bdee868cc61d6090fa81de13 100644 (file)
@@ -476,9 +476,8 @@ VISU::ColoredPrs3d_i
     SetPosition(anOrigin->GetPosX(), anOrigin->GetPosY());
     SetSize(anOrigin->GetWidth(), anOrigin->GetHeight());
     SetLabels(anOrigin->GetLabels());
-    if(anIsCreatNew)
-      SetTitle(anOrigin->GetTitle());
-    
+
+    SetTitle(anOrigin->GetTitle());   
     SetBoldTitle(anOrigin->IsBoldTitle());
     SetItalicTitle(anOrigin->IsItalicTitle());
     SetShadowTitle(anOrigin->IsShadowTitle());