Command - undo

- Migrated handleUndo to CmdUndo.
This commit is contained in:
Paul Beckingham 2011-05-30 13:38:45 -04:00
parent 4c47748dd7
commit 2fb743992f
9 changed files with 100 additions and 19 deletions

View file

@ -252,7 +252,6 @@ int Context::dispatch (std::string &out)
if (cmd.command == "timesheet") { rc = handleReportTimesheet (out); }
else if (cmd.command == "done") { rc = handleDone (out); }
else if (cmd.command == "delete") { rc = handleDelete (out); }
else if (cmd.command == "undo") { handleUndo ( ); }
else if (cmd.command == "merge") { tdb.gc ();
handleMerge (out); }
else if (cmd.command == "push") { handlePush (out); }