From: vsr Date: Mon, 31 May 2010 09:25:22 +0000 (+0000) Subject: 0020883: [CEA 404] Pb with old hdf X-Git-Tag: V5_1_main_20100601 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=00790f661110e1c3d5cd8e9049c0b5a8e2cc03a9;p=modules%2Fvisu.git 0020883: [CEA 404] Pb with old hdf Additional problem of ImportTables() method has been fixed (compatibility with old studies) --- diff --git a/src/VISU_I/VISU_DumpPython.cc b/src/VISU_I/VISU_DumpPython.cc index 80bcd374..5ba81d94 100644 --- a/src/VISU_I/VISU_DumpPython.cc +++ b/src/VISU_I/VISU_DumpPython.cc @@ -1713,7 +1713,11 @@ namespace VISU std::string aName = GenerateName(theSObject,theName2EntryMap,theEntry2NameMap); QString aFirstStrAsTitle = - VISU::Storable::FindValue(aMap,"myFirstStrAsTitle",&anIsExist); + VISU::Storable::FindValue(aMap,"myFirstStrAsTitle",&anIsExist).trimmed().toLower(); + if ( aFirstStrAsTitle == "1" || aFirstStrAsTitle == "true" ) + aFirstStrAsTitle = "True"; + else + aFirstStrAsTitle = "False"; theStr<