From 105fd370d1d243d3174899b72babb538c04289ec Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 24 May 2007 07:59:23 +0000 Subject: [PATCH] To fix regression with restoring of presentation scalar bar title --- src/VISU_I/VISU_ColoredPrs3d_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2