]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
no message
authorstv <stv@opencascade.com>
Thu, 15 Dec 2005 16:02:32 +0000 (16:02 +0000)
committerstv <stv@opencascade.com>
Thu, 15 Dec 2005 16:02:32 +0000 (16:02 +0000)
src/CAF/CAF_Study.cxx

index bb20185cae9f7be97b9101280189f25b8be767c5..7cd3ddc61cd5bb82058c302e83f1dbdf3d88a34a 100755 (executable)
@@ -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();
 }
 
 /*!