From: Angus Leeming Date: Wed, 11 Jun 2003 22:02:03 +0000 (+0000) Subject: Reformat a little. X-Git-Tag: 1.6.10~16643 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7f45b73a0e24a4c6bfb34c866c0866244797b002;p=features.git Reformat a little. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7158 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 5d4aa3fc34..f563ef09d5 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,5 +1,7 @@ 2003-06-11 Angus Leeming + * insetcite.C (localDispatch): reformat. + * insetref.C (localDispatch): enable dialog to be lauched. 2003-06-11 John Levon diff --git a/src/insets/insetcite.C b/src/insets/insetcite.C index e1f51e61d3..9e0ce61d95 100644 --- a/src/insets/insetcite.C +++ b/src/insets/insetcite.C @@ -326,17 +326,16 @@ void InsetCitation::setLoadingBuffer(Buffer const * buffer, bool state) const 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; }