From: asv Date: Thu, 27 Jul 2006 11:47:06 +0000 (+0000) Subject: Fix for bug SWP12964: default value of "Store/restore last GUI state" is unchecked... X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b57a6808f489f6e847f02d120973b5ae466ed31;p=modules%2Fgui.git Fix for bug SWP12964: default value of "Store/restore last GUI state" is unchecked (in the dialog), but in the code the default value was "true" which is wrong. --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index e227a58e8..36add85aa 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -208,7 +208,7 @@ bool SalomeApp_Study::loadDocument( const QString& theStudyName ) */ bool SalomeApp_Study::saveDocumentAs( const QString& theFileName ) { - bool store = application()->resourceMgr()->booleanValue( "Study", "store_visual_state", true ); + bool store = application()->resourceMgr()->booleanValue( "Study", "store_visual_state", false ); if ( store ) SalomeApp_VisualState( (SalomeApp_Application*)application() ).storeState();