[pdfmod] Raise Document.Changed after Save



commit 40f4de8c74f00f9c533d1c783f0a433f99354d09
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Mar 29 17:16:46 2010 -0700

    Raise Document.Changed after Save
    
    Makes the '*' in the window title go away, etc.

 src/PdfMod/Pdf/Document.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/PdfMod/Pdf/Document.cs b/src/PdfMod/Pdf/Document.cs
index 2f6a48f..361c565 100644
--- a/src/PdfMod/Pdf/Document.cs
+++ b/src/PdfMod/Pdf/Document.cs
@@ -270,6 +270,8 @@ namespace PdfMod.Pdf
                     tmp_uri = tmp_path = null;
                 }
             }
+
+            OnChanged ();
         }
 
         public void AddFromUri (Uri uri)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]