From d640fed3d4c905d9137de9c0efcf3aca9a0f99a9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 22 Aug 2015 12:16:45 -0400 Subject: [PATCH] Task: 'wait:' bug fix - When 'wait:' is specified, it no longer sets 'status:waiting' because there is no value. Thanks to Daniel Shahaf. --- src/Task.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index 7605a3f1a..f9b7eafbc 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1427,7 +1427,8 @@ void Task::validate (bool applyDefault /* = true */) // Tasks with a wait: date get a special status. else if (status == Task::pending && - has ("wait")) + has ("wait") && + get ("wait") != "") status = Task::waiting; // By default, tasks are pending.