From b0e18de1b6c055587f495aebf3504ddc58f46db4 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 25 Oct 2008 02:09:31 -0400 Subject: [PATCH] - Fixed bug where the onChangeCallback was being called twice for "task list" after "task do xx". --- src/TDB.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TDB.cpp b/src/TDB.cpp index 4e2c985f2..54f9c31c6 100644 --- a/src/TDB.cpp +++ b/src/TDB.cpp @@ -414,7 +414,8 @@ bool TDB::writeCompleted (const T& t) fputs (t.compose ().c_str (), out); fclose (out); - dbChanged (); + // Note: No call to dbChanged here because this call never occurs by itself. + // It is always accompanied by an overwritePending call. return true; }