From 8b57a6808f489f6e847f02d120973b5ae466ed31 Mon Sep 17 00:00:00 2001 From: asv Date: Thu, 27 Jul 2006 11:47:06 +0000 Subject: [PATCH] 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. --- src/SalomeApp/SalomeApp_Study.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2