From: Niki Roo Date: Thu, 17 Mar 2016 18:45:09 +0000 (+0100) Subject: Fix timestamp not updated after save X-Git-Tag: v1.0-beta3~11 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=6a77f2ed5996a89e82edd6552942bf23123c205f;p=jvcard.git Fix timestamp not updated after save --- diff --git a/src/be/nikiroo/jvcard/Card.java b/src/be/nikiroo/jvcard/Card.java index d550ad4..7939263 100644 --- a/src/be/nikiroo/jvcard/Card.java +++ b/src/be/nikiroo/jvcard/Card.java @@ -103,6 +103,7 @@ public class Card extends BaseClass { if (this.file != null && file.getCanonicalPath().equals(this.file.getCanonicalPath())) { + lastModified = file.lastModified(); setPristine(); }