From: apo Date: Thu, 17 May 2007 13:34:24 +0000 (+0000) Subject: Fix for Bug IPAL15162 X-Git-Tag: mergeto_BR_Dev_For_4_0_21May07~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e8d1dd595832cd57269e4a89431941ef13108415;p=modules%2Fvisu.git Fix for Bug IPAL15162 - IOLS.It's impossible to rename Title of Scalar Map. --- diff --git a/src/VISU_I/VISU_ColoredPrs3d_i.cc b/src/VISU_I/VISU_ColoredPrs3d_i.cc index 35c6df03..a5581e2c 100644 --- a/src/VISU_I/VISU_ColoredPrs3d_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3d_i.cc @@ -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());