From: stv Date: Thu, 15 Dec 2005 16:02:32 +0000 (+0000) Subject: no message X-Git-Tag: TG-D5-38-2003_D2005-20-12~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b1af6c1ae7581a19c30f93a2822b2c76c988aaa9;p=modules%2Fgui.git no message --- diff --git a/src/CAF/CAF_Study.cxx b/src/CAF/CAF_Study.cxx index bb20185ca..7cd3ddc61 100755 --- a/src/CAF/CAF_Study.cxx +++ b/src/CAF/CAF_Study.cxx @@ -224,7 +224,10 @@ bool CAF_Study::isSaved() const */ bool CAF_Study::isModified() const { - return ( myModifiedCnt != 0 ); + if ( myStdDoc.IsNull() ) + return false; + + return myStdDoc->IsModified(); } /*!