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

@@ -51,16 +51,6 @@
extern Context context;
////////////////////////////////////////////////////////////////////////////////
void handleUndo ()
{
context.disallowModification ();
context.tdb.lock (context.config.getBoolean ("locking"));
context.tdb.undo ();
context.tdb.unlock ();
}
////////////////////////////////////////////////////////////////////////////////
void handleMerge (std::string&)
{