Fix timestamp not updated after save
authorNiki Roo <niki@nikiroo.be>
Thu, 17 Mar 2016 18:45:09 +0000 (19:45 +0100)
committerNiki Roo <niki@nikiroo.be>
Thu, 17 Mar 2016 18:45:09 +0000 (19:45 +0100)
src/be/nikiroo/jvcard/Card.java

index d550ad4a6dc00df7009c83b580e079eb2ead86a1..7939263bfc60b3201458810a735c3690df041077 100644 (file)
@@ -103,6 +103,7 @@ public class Card extends BaseClass<Contact> {
 
                if (this.file != null
                                && file.getCanonicalPath().equals(this.file.getCanonicalPath())) {
+                       lastModified = file.lastModified();
                        setPristine();
                }