From d4a9a387afc02112a567a5f1c0b5c29070775ff7 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 11 Jun 2009 00:46:04 -0400 Subject: [PATCH] Bug Fix - add with no status - Tasks were not assigned a default status of Task::pending when added. --- src/command.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/command.cpp b/src/command.cpp index 8e5fff31f..ad33214e7 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -58,6 +58,8 @@ std::string handleAdd () context.task.setStatus (Task::recurring); context.task.set ("mask", ""); } + else + context.task.setStatus (Task::pending); // Override with default.project, if not specified. if (context.task.get ("project") == "")