Enhancement - undo

- Implemented new undo command.
- Removed old undelete command.
- Does not work yet.
This commit is contained in:
Paul Beckingham
2009-07-01 00:15:32 -04:00
parent b7a0883212
commit 0891d3ea63
4 changed files with 124 additions and 15 deletions

View File

@@ -513,9 +513,12 @@ std::string taskDifferences (const Task& before, const Task& after)
if (out.str ().length () == 0)
out << "No changes were made. ";
/*
std::stringstream decorated;
decorated << "Task " << before.id << " was modified. " << out.str ();
return decorated.str ();
*/
return out.str ();
}
////////////////////////////////////////////////////////////////////////////////