compare Tasks directly, not their properties

This commit is contained in:
Dustin J. Mitchell
2021-12-17 01:09:52 +00:00
committed by Tomas Babej
parent ac24ec1387
commit e768e2c100
4 changed files with 9 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ void CmdImport::importSingleTask (json::object* obj)
if (hasGeneratedEnd)
task.set ("end", before.get ("end"));
if (before.data_removeme() != task.data_removeme())
if (before != task)
{
CmdModify modHelper;
modHelper.checkConsistency (before, task);