2003-06-11 Angus Leeming <leeming@lyx.org>
+ * insetcite.C (localDispatch): reformat.
+
* insetref.C (localDispatch): enable dialog to be lauched.
2003-06-11 John Levon <levon@movementarian.org>
dispatch_result InsetCitation::localDispatch(FuncRequest const & cmd)
{
switch (cmd.action) {
- case LFUN_INSET_EDIT:
- // A call to edit indicates that we're no longer loading the
- // buffer but doing some real work.
- setLoadingBuffer(cmd.view()->buffer(), false);
- InsetCommandMailer("citation", *this).showDialog(cmd.view());
- break;
-
- default:
- return InsetCommand::localDispatch(cmd);
+ case LFUN_INSET_EDIT:
+ // A call to edit indicates that we're no longer loading the
+ // buffer but doing some real work.
+ setLoadingBuffer(cmd.view()->buffer(), false);
+ InsetCommandMailer("citation", *this).showDialog(cmd.view());
+ break;
+
+ default:
+ return InsetCommand::localDispatch(cmd);
}
- return DISPATCHED;
}