From: asl Date: Thu, 24 Nov 2005 08:56:42 +0000 (+0000) Subject: PAL9883 - default value of "ascii_file" parameter must be false X-Git-Tag: BR_3_1_0_deb~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b0bb0580ebbe9e045742e50c9efac1b99249456;p=modules%2Fgui.git PAL9883 - default value of "ascii_file" parameter must be false --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index d9a25aef6..c071cac57 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -177,7 +177,7 @@ bool SalomeApp_Study::saveDocumentAs( const QString& theFileName ) return false; bool isMultiFile = resMgr->booleanValue( "Study", "multi_file", false ), - isAscii = resMgr->booleanValue( "Study", "ascii_file", true ); + isAscii = resMgr->booleanValue( "Study", "ascii_file", false ); isAscii ? SalomeApp_Application::studyMgr()->SaveAsASCII( theFileName.latin1(), studyDS(), isMultiFile ) : SalomeApp_Application::studyMgr()->SaveAs ( theFileName.latin1(), studyDS(), isMultiFile ); @@ -212,7 +212,7 @@ bool SalomeApp_Study::saveDocument() return false; bool isMultiFile = resMgr->booleanValue( "Study", "multi_file", false ), - isAscii = resMgr->booleanValue( "Study", "ascii_file", true ); + isAscii = resMgr->booleanValue( "Study", "ascii_file", false ); isAscii ? SalomeApp_Application::studyMgr()->SaveASCII( studyDS(), isMultiFile ) : SalomeApp_Application::studyMgr()->Save ( studyDS(), isMultiFile );