commands: Do not remove wait attribute upon task completion/deletion
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user