]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PAL9883 - default value of "ascii_file" parameter must be false
authorasl <asl@opencascade.com>
Thu, 24 Nov 2005 08:56:42 +0000 (08:56 +0000)
committerasl <asl@opencascade.com>
Thu, 24 Nov 2005 08:56:42 +0000 (08:56 +0000)
src/SalomeApp/SalomeApp_Study.cxx

index d9a25aef6b4c02821646f54bdd66a988452dd838..c071cac57ec1f160fa671dd693eb6c511016f673 100644 (file)
@@ -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 );