From 00790f661110e1c3d5cd8e9049c0b5a8e2cc03a9 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 31 May 2010 09:25:22 +0000 Subject: [PATCH] 0020883: [CEA 404] Pb with old hdf Additional problem of ImportTables() method has been fixed (compatibility with old studies) --- src/VISU_I/VISU_DumpPython.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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<