- The 'duplicate' command used TDB2::commit, but TDB::nextId.
This commit is contained in:
Paul Beckingham 2011-08-30 00:35:45 -04:00
parent 72bd579cf4
commit 94ce784f33

View file

@ -106,7 +106,7 @@ int CmdDuplicate::execute (std::string& output)
// TODO This should be a call in to feedback.cpp. // TODO This should be a call in to feedback.cpp.
if (context.verbose ("new-id")) if (context.verbose ("new-id"))
out << format (STRING_CMD_ADD_FEEDBACK, context.tdb.nextId ()) + "\n"; out << format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
context.footnote (onProjectChange (dup)); context.footnote (onProjectChange (dup));
} }