]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the "0051779: TC7.2.0: Save operation works incorrectly for study loaded...
authorrnv <rnv@opencascade.com>
Wed, 20 Mar 2013 14:02:34 +0000 (14:02 +0000)
committerrnv <rnv@opencascade.com>
Wed, 20 Mar 2013 14:02:34 +0000 (14:02 +0000)
src/SalomeApp/SalomeApp_Study.cxx

index 7e3659945ceba819cb032c2db2cc5d0ac2335cc6..054cc1a5490f7fb7a9b48f4df0b9e2199ba3549a 100644 (file)
@@ -557,6 +557,10 @@ bool SalomeApp_Study::loadDocument( const QString& theStudyName )
 #endif
 
   bool res = CAM_Study::openDocument( theStudyName );
+  
+  //rnv: to fix the "0051779: TC7.2.0: Save operation works incorrectly for study loaded from data server"
+  //     mark study as "not saved" after call openDocument( ... ) method.
+  setIsSaved(false);
   emit opened( this );
 
   bool restore = application()->resourceMgr()->booleanValue( "Study", "store_visual_state", true );