From d2aa0f31b0f67683e0f25d92a4890d8d07bb565e Mon Sep 17 00:00:00 2001 From: Federico Hernandez Date: Tue, 1 Sep 2009 21:08:13 +0200 Subject: [PATCH] Bug Fix - #289 - Fixed bug #289 which imported task from todo.sh without valid uuids (thanks to Ben Jackson). --- src/import.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/import.cpp b/src/import.cpp index 7feef1cb6..939e04710 100644 --- a/src/import.cpp +++ b/src/import.cpp @@ -790,6 +790,8 @@ static std::string importTodoSh_2_0 (const std::vector & lines) context.parse (); decorateTask (context.task); + context.task.set ("uuid", uuid ()); + if (isPending) { context.task.setStatus (Task::pending);