]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To fix regression with restoring of presentation scalar bar title
authorapo <apo@opencascade.com>
Thu, 24 May 2007 07:59:23 +0000 (07:59 +0000)
committerapo <apo@opencascade.com>
Thu, 24 May 2007 07:59:23 +0000 (07:59 +0000)
src/VISU_I/VISU_ColoredPrs3d_i.cc

index 0fa7c820f7912cf4f669e4b410dd65fae2ee0e35..74dada417e6f573d7fd9b6a9dcea4948aa78dcdb 100644 (file)
@@ -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();