diff --git a/src/commands/CmdDelete.cpp b/src/commands/CmdDelete.cpp index b6d88effd..894762154 100644 --- a/src/commands/CmdDelete.cpp +++ b/src/commands/CmdDelete.cpp @@ -92,10 +92,6 @@ int CmdDelete::execute (std::string&) if (! task.has ("end")) task.setAsNow ("end"); - // Un-wait the task, if waiting. - if (task.has ("wait")) - task.remove ("wait"); - if (permission (question, filtered.size ())) { updateRecurrenceMask (task); diff --git a/src/commands/CmdDone.cpp b/src/commands/CmdDone.cpp index 4f9b9f5ef..d9be84ccd 100644 --- a/src/commands/CmdDone.cpp +++ b/src/commands/CmdDone.cpp @@ -98,10 +98,6 @@ int CmdDone::execute (std::string&) task.addAnnotation (Context::getContext ().config.get ("journal.time.stop.annotation")); } - // Un-wait the task, if waiting. - if (task.has ("wait")) - task.remove ("wait"); - if (permission (taskDifferences (before, task) + question, filtered.size ())) { updateRecurrenceMask (task);