Un-wait a waiting task when deleted
This commit is contained in:
committed by
Tomas Babej
parent
33dcea68f5
commit
6546c050c5
@@ -89,6 +89,10 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user