Enhancement

- Various commands now allow modification and annotation.
This commit is contained in:
Paul Beckingham 2011-07-09 23:45:31 -04:00
parent b5f04a3ebc
commit d087bdfd38
9 changed files with 168 additions and 59 deletions

View file

@ -46,7 +46,7 @@ CmdUndo::CmdUndo ()
////////////////////////////////////////////////////////////////////////////////
int CmdUndo::execute (std::string& output)
{
context.disallowModification ();
// TODO Detect attemps to modify the task.
context.tdb.lock (context.config.getBoolean ("locking"));
context.tdb.undo ();