From: apo Date: Thu, 24 May 2007 07:59:23 +0000 (+0000) Subject: To fix regression with restoring of presentation scalar bar title X-Git-Tag: V4_0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=105fd370d1d243d3174899b72babb538c04289ec;p=modules%2Fvisu.git To fix regression with restoring of presentation scalar bar title --- diff --git a/src/VISU_I/VISU_ColoredPrs3d_i.cc b/src/VISU_I/VISU_ColoredPrs3d_i.cc index 0fa7c820..74dada41 100644 --- a/src/VISU_I/VISU_ColoredPrs3d_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3d_i.cc @@ -1148,7 +1148,7 @@ VISU::ColoredPrs3d_i SetNbColors(VISU::Storable::FindValue(theMap,"myNumberOfColors").toInt()); SetBarOrientation((VISU::ScalarMap::Orientation)VISU::Storable::FindValue(theMap,"myOrientation").toInt()); - myTitle = VISU::Storable::FindValue(theMap,"myTitle").latin1(); + SetTitle(VISU::Storable::FindValue(theMap,"myTitle").latin1()); myNumberOfLabels = VISU::Storable::FindValue(theMap,"myNumberOfLabels").toInt(); myPosition[0] = VISU::Storable::FindValue(theMap,"myPosition[0]").toDouble(); myPosition[1] = VISU::Storable::FindValue(theMap,"myPosition[1]").toDouble();