From ab40fae67ecfadb482b9d998ffc54a3dc2b93d80 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 5 Sep 2015 23:14:56 +0200 Subject: [PATCH] TDB2: Only ever update task if it differs from original --- src/TDB2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TDB2.cpp b/src/TDB2.cpp index 61b2f344d..803ea0552 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -586,6 +586,10 @@ void TDB2::update ( Task original; if (not addition && get (task.get ("uuid"), original)) { + // Update only if the tasks differ + if (task == original) + return; + if (add_to_backlog) { // All locally modified tasks are timestamped, implicitly overwriting any