From cda959a65835bf52e9bc12d0f270ee10a4c51a53 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 23 Feb 2010 18:07:05 -0500 Subject: [PATCH] Bug Fix - #382 - Changed from testing the ID to testing the sequence size. --- src/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.cpp b/src/command.cpp index 677a9077b..73ffde87f 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -1887,7 +1887,7 @@ int handleAnnotate (std::string &outs) if (!context.task.has ("description")) throw std::string ("Cannot apply a blank annotation."); - if (!context.task.has ("id")) + if (context.sequence.size () == 0) throw std::string ("ID needed to apply an annotation."); std::stringstream out;