diff --git a/src/commands/CmdAnnotate.cpp b/src/commands/CmdAnnotate.cpp index 28e2eb68c..3528b55a7 100644 --- a/src/commands/CmdAnnotate.cpp +++ b/src/commands/CmdAnnotate.cpp @@ -77,10 +77,6 @@ int CmdAnnotate::execute (std::string& output) { Task before (*task); modify_task_annotate (*task, modifications); - apply_defaults (*task); - - // Only allow valid tasks. - task->validate (); if (taskDiff (before, *task)) { diff --git a/src/commands/CmdDenotate.cpp b/src/commands/CmdDenotate.cpp index 12ee03273..06c5b1c3e 100644 --- a/src/commands/CmdDenotate.cpp +++ b/src/commands/CmdDenotate.cpp @@ -116,9 +116,6 @@ int CmdDenotate::execute (std::string& output) if (taskDiff (before, *task)) { - // Only allow valid tasks. - task->validate (); - if (permission.confirmed (before, taskDifferences (before, *task) + STRING_CMD_DONE_PROCEED)) {