compare Tasks directly, not their properties
This commit is contained in:
committed by
Tomas Babej
parent
ac24ec1387
commit
e768e2c100
@@ -79,7 +79,7 @@ int CmdModify::execute (std::string&)
|
||||
Task before (task);
|
||||
task.modify (Task::modReplace);
|
||||
|
||||
if (before.data_removeme () != task.data_removeme ())
|
||||
if (before != task)
|
||||
{
|
||||
// Abort if change introduces inconsistencies.
|
||||
checkConsistency(before, task);
|
||||
|
||||
Reference in New Issue
Block a user