Reviewboard refuses my patch...

The result is that [modified] indication is not in sync with file content, so 
user may accidently loose data.
-- 
Mvh.
Dag Andersen
diff --git a/libs/main/KoDocument.cpp b/libs/main/KoDocument.cpp
index c3158ea..0291e12 100644
--- a/libs/main/KoDocument.cpp
+++ b/libs/main/KoDocument.cpp
@@ -345,6 +345,7 @@ bool KoDocument::saveFile()
     }
 
     if (ret) {
+        d->undoStack->setClean();
         removeAutoSaveFiles();
         // Restart the autosave timer
         // (we don't want to autosave again 2 seconds after a real save)
_______________________________________________
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel

Reply via email to