From 2c38231a9f3dc124a6ed1212908d607ec6cc4526 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 20 Mar 2013 14:02:34 +0000 Subject: [PATCH] Fix for the "0051779: TC7.2.0: Save operation works incorrectly for study loaded from data server" issue. --- src/SalomeApp/SalomeApp_Study.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index 7e3659945..054cc1a54 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -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 ); -- 2.39.2